Skip to content

Commit 11939f3

Browse files
authored
Revert "Unified Evaluation API Spec (Version upgrade) (#36115)" (#36964)
This reverts commit ec27c0a.
1 parent 00fea50 commit 11939f3

File tree

90 files changed

+97
-8063
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+97
-8063
lines changed

specification/ai/Azure.AI.Projects/common/models.tsp

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import "@azure-tools/typespec-azure-core";
44
import "@azure-tools/typespec-azure-resource-manager";
55

66
namespace Azure.AI.Projects;
7-
using TypeSpec.Versioning;
87

98
alias AssetBase = {
109
@doc("Asset ID, a unique identifier for the asset")
@@ -116,25 +115,3 @@ model AssetCredentialResponse {
116115
@doc("Credential info to access the storage account.")
117116
blobReference: BlobReference;
118117
}
119-
120-
@doc("Azure OpenAI model configuration. The API version would be selected by the service for querying the model.")
121-
@added(Versions.v2025_05_15_preview)
122-
model AzureOpenAIModelConfiguration extends TargetConfig {
123-
@visibility(Lifecycle.Read)
124-
type: "AzureOpenAIModel";
125-
126-
@doc("Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (e.g. `my-aoai-connection/gpt-4o`).")
127-
modelDeploymentName: string;
128-
129-
@doc("Optional model-specific parameters to fine-tune behavior during evaluation. These may include temperature, max tokens, top-p, frequency penalty, and other model configuration options supported by the deployment.")
130-
@added(Versions.v2025_07_31_preview)
131-
modelParameters?: Record<unknown>;
132-
}
133-
134-
@doc("Abstract class for target configuration.")
135-
@added(Versions.v2025_05_15_preview)
136-
@discriminator("type")
137-
model TargetConfig {
138-
@doc("Type of the model configuration.")
139-
type: string;
140-
}

specification/ai/Azure.AI.Projects/evaluations/chat_messages.tsp

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)