Skip to content

Commit

Permalink
Test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
singankit committed Sep 28, 2024
1 parent bc65f03 commit c32cdb5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
28 changes: 27 additions & 1 deletion specification/ai/Azure.AI.Client/agents/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,30 @@ using Azure.Core;
using Azure.Core.Traits;
using Azure.Core.Foundations;

namespace AzureAI.Agents;
@server(
"https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}",
"Azure AI Evaluations",
{
@doc("The ID of the target subscription.")
subscriptionId: string,

@doc("The name of the Resource Group.")
resourceGroupName: string,

@doc("The name of the workspace (Azure AI Studio hub).")
workspaceName: string,
}
)
namespace AzureAI.Agents {
@post
@route("/agents/create")
@doc("Creates an evaluation.")
op create is Azure.Core.Foundations.Operation<
{
@doc("Properties of Evaluation.")
@body
assistant: string;
},
string
>;
}
1 change: 1 addition & 0 deletions specification/ai/Azure.AI.Client/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ namespace AzureAI {
}

using AzureAI.Evaluations;
using AzureAI.Agents;

}

0 comments on commit c32cdb5

Please sign in to comment.