diff --git a/specification/ai/Azure.AI.Projects/red-teams/models.tsp b/specification/ai/Azure.AI.Projects/red-teams/models.tsp index 924552662e70..23fd2ee682b6 100644 --- a/specification/ai/Azure.AI.Projects/red-teams/models.tsp +++ b/specification/ai/Azure.AI.Projects/red-teams/models.tsp @@ -110,7 +110,7 @@ union RiskCategory { Sexual: "Sexual", @doc("Represents content related to self-harm.") - SelfHarm: "SelfHarm" + SelfHarm: "SelfHarm", } @doc("Azure OpenAI model configuration. The API version would be selected by the service for querying the model.") diff --git a/specification/ai/Azure.AI.Projects/tspconfig.yaml b/specification/ai/Azure.AI.Projects/tspconfig.yaml index e6e7a9df834a..47940823b97a 100644 --- a/specification/ai/Azure.AI.Projects/tspconfig.yaml +++ b/specification/ai/Azure.AI.Projects/tspconfig.yaml @@ -35,8 +35,21 @@ options: generateTest: true generateMetadata: false packageDetails: - name: "@azure/ai-projects-1dp" + name: "@azure/ai-projects-1dp" flavor: azure + "@azure-tools/typespec-java": + package-dir: "azure-ai-projects" + namespace: com.azure.ai.projects + partial-update: true + customization-class: customization/src/main/java/ProjectsCustomizations.java + enable-sync-stack: true + generate-tests: false + flavor: azure + "@azure-tools/typespec-go": + service-dir: "sdk/ai/projects" + package-dir: "azaiprojects" + generate-fakes: true + inject-spans: true linter: extends: - "@azure-tools/typespec-azure-rulesets/data-plane"