Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions specification/ai/Azure.AI.Projects/evaluations/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Azure.AI.Projects;

@doc("Evaluator Configuration")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model EvaluatorConfiguration {
@doc("Identifier of the evaluator.")
id: string;
Expand All @@ -30,15 +30,15 @@ model EvaluatorConfiguration {
@doc("Abstract data class.")
@discriminator("type")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model InputData {
@doc("Type of the data")
type: string;
}

@doc("Dataset as source for evaluation.")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model InputDataset extends InputData {
type: "dataset";

Expand All @@ -49,7 +49,7 @@ model InputDataset extends InputData {
@doc("Evaluation Definition")
@resource("runs")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model Evaluation {
@doc("Identifier of the evaluation.")
@key("name")
Expand Down Expand Up @@ -81,7 +81,7 @@ model Evaluation {

@doc("Definition for sampling strategy.")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model AgentEvaluationSamplingConfiguration {
@doc("Name of the sampling strategy.")
name: string;
Expand All @@ -95,15 +95,15 @@ model AgentEvaluationSamplingConfiguration {

@doc("The redaction configuration will allow the user to control what is redacted.")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model AgentEvaluationRedactionConfiguration {
@doc("Redact score properties. If not specified, the default is to redact in production.")
redactScoreProperties?: boolean;
}

@doc("Evaluation request for agent run.")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model AgentEvaluationRequest {
@doc("Identifier of the agent run.")
runId: string;
Expand All @@ -126,7 +126,7 @@ model AgentEvaluationRequest {

@doc("Result for the agent evaluation evaluator run.")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model AgentEvaluationResult {
@doc("Evaluator's name. This is the name of the evaluator that was used to evaluate the agent's completion.")
evaluator: string;
Expand Down Expand Up @@ -158,7 +158,7 @@ model AgentEvaluationResult {

@doc("Evaluation response for agent evaluation run.")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
model AgentEvaluation {
@doc("Identifier of the agent evaluation run.")
id: string;
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/evaluations/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ alias EvaluationsOperations = Azure.Core.ResourceOperations<ServiceTraits>;

@route("evaluations")
@added(Versions.v2025_05_15_preview)
@removed(Versions.v_latest)
@removed(Versions.v1)
interface Evaluations {
@doc("Get an evaluation run by name.")
get is EvaluationsOperations.ResourceRead<Evaluation>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Connections_GetWithCredentials_MaximumSet",
"operationId": "Connections_GetWithCredentials",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "jqgcfdexf",
"x-ms-client-request-id": "cf35b680-dc80-4815-ab83-9364acc3bce6"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Connections_Get_MaximumSet",
"operationId": "Connections_Get",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "gvwpqdivyfaiftzdfcjoj",
"x-ms-client-request-id": "cf35b680-dc80-4815-ab83-9364acc3bce6"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Connections_List_MaximumSet",
"operationId": "Connections_List",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"connectionType": "AzureOpenAI",
"defaultConnection": true,
"top": 6,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_CreateOrUpdateVersion_MaximumSet",
"operationId": "Datasets_CreateOrUpdateVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "nsvugzcnsvqodrxiojanhtdymgglnx",
"version": "utbfmfka",
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_CreateOrUpdateVersion_MinimumSet",
"operationId": "Datasets_CreateOrUpdateVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "pluvp",
"version": "playwidjgezovivciosnkerrdwe",
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_DeleteVersion_MaximumSet",
"operationId": "Datasets_DeleteVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "dfmimccx",
"version": "mukc"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_DeleteVersion_MinimumSet",
"operationId": "Datasets_DeleteVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "nkaivxoayhkrxavagybliogwwgvbk",
"version": "pmavzwbusicqau"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_GetCredentials_MaximumSet",
"operationId": "Datasets_GetCredentials",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "hpvjnkljsuospxwrypot",
"version": "rlf",
"body": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_GetCredentials_MinimumSet",
"operationId": "Datasets_GetCredentials",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "udrhdaxbjptksqqwztnfswzku",
"version": "ytogupzn",
"body": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_GetVersion_MaximumSet",
"operationId": "Datasets_GetVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "ppdba",
"version": "ttetev"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_GetVersion_MinimumSet",
"operationId": "Datasets_GetVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "ivkedy",
"version": "vxufccznqvuctabcyagbczidvr"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_ListLatest_MaximumSet",
"operationId": "Datasets_ListLatest",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"top": 16,
"skip": "wbilbzmgugbikcwaguhtq",
"tags": "azsufezp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_ListLatest_MinimumSet",
"operationId": "Datasets_ListLatest",
"parameters": {
"api-version": "latest"
"api-version": "v1"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_ListVersions_MaximumSet",
"operationId": "Datasets_ListVersions",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "ojjzgfffyyyr",
"top": 4,
"skip": "bafjlmqcftwnjlofuwnxoc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_ListVersions_MinimumSet",
"operationId": "Datasets_ListVersions",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "fauawvl"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_StartPendingUploadVersion_MaximumSet",
"operationId": "Datasets_StartPendingUploadVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "cncrcmiaksswirlujwcptxeaef",
"version": "jkqqzmj",
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Datasets_StartPendingUploadVersion_MinimumSet",
"operationId": "Datasets_StartPendingUploadVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "atopkjwxsjtforndczju",
"version": "yftpnjxwjylhixypopcytxd",
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Deployments_Get_MaximumSet",
"operationId": "Deployments_Get",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "ft",
"x-ms-client-request-id": "cf35b680-dc80-4815-ab83-9364acc3bce6"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Deployments_List_MaximumSet",
"operationId": "Deployments_List",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"modelPublisher": "tb",
"modelName": "xdlvjxymsmdnebesolv",
"top": 6,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_CreateOrUpdateVersion_MaximumSet",
"operationId": "Indexes_CreateOrUpdateVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "kptgsnpfjcunvvdgzfjdmnurq",
"version": "hxutytnzwioiijfinpdojrnrqhqb",
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_CreateOrUpdateVersion_MinimumSet",
"operationId": "Indexes_CreateOrUpdateVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "dpfjghwaowffzhoyuwrnmws",
"version": "priaizsqiwxrwnhhyk",
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_DeleteVersion_MaximumSet",
"operationId": "Indexes_DeleteVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "fb",
"version": "ajbuwvsxobvnynpcliqcylqdp"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_DeleteVersion_MinimumSet",
"operationId": "Indexes_DeleteVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "zoxequ",
"version": "akulwzwrfeqxh"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_GetVersion_MaximumSet",
"operationId": "Indexes_GetVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "ascwgkgwpqxeinbp",
"version": "bqhzitucneeoxurvf"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_GetVersion_MinimumSet",
"operationId": "Indexes_GetVersion",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "sflsamumttlwccuxveocgozlkmdme",
"version": "txg"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_ListLatest_MaximumSet",
"operationId": "Indexes_ListLatest",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"top": 16,
"skip": "cbeuhxuzaucwgqj",
"tags": "ecxlvszgcepwunik",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_ListLatest_MinimumSet",
"operationId": "Indexes_ListLatest",
"parameters": {
"api-version": "latest"
"api-version": "v1"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_ListVersions_MaximumSet",
"operationId": "Indexes_ListVersions",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "ugobcytrjfdfu",
"top": 12,
"skip": "vspvqu",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Indexes_ListVersions_MinimumSet",
"operationId": "Indexes_ListVersions",
"parameters": {
"api-version": "latest",
"api-version": "v1",
"name": "lenbliqxnfqi"
},
"responses": {
Expand Down
4 changes: 2 additions & 2 deletions specification/ai/Azure.AI.Projects/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ namespace Azure.AI.Projects {
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v2025_05_15_preview: "2025-05-15-preview",

@doc("Azure AI API version latest.")
@doc("Azure AI API version v1.")
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v_latest: "latest",
v1: "v1",
}
}
Loading
Loading