Skip to content

Commit 1120bb3

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/dot-github/zod-4.1.11
2 parents e6a70f1 + dbe1afb commit 1120bb3

File tree

107 files changed

+9424
-69
lines changed

Some content is hidden

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

107 files changed

+9424
-69
lines changed

.github/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/shared/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-dev.20250805.1
1+
1.0.0-dev.20250922.2
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,69 @@
11
import "./main.tsp";
22
import "@azure-tools/typespec-client-generator-core";
3+
4+
using Azure.ClientGenerator.Core;
5+
using TypeSpec.Versioning;
6+
using Language.QuestionAnswering.Authoring;
7+
8+
@useDependency(Versions.v2025_05_15_preview)
9+
namespace Language.QuestionAnsweringAuthoringClientCustomizations;
10+
11+
@client({
12+
name: "QuestionAnsweringAuthoringClient",
13+
service: Language.QuestionAnswering.Authoring,
14+
})
15+
interface QuestionAnsweringAuthoringClientOperations {
16+
listProjects is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.listProjects;
17+
getProjectDetails is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getProjectDetails;
18+
19+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
20+
createProject is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.createProject;
21+
22+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
23+
deleteProject is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.deleteProject;
24+
getDeleteStatus is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getDeleteStatus;
25+
26+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
27+
export is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.export;
28+
getExportStatus is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getExportStatus;
29+
30+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
31+
`import` is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.`import`;
32+
33+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
34+
#suppress "@azure-tools/typespec-azure-core/byos" "specified in routes.tsp"
35+
importFromFiles is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.importFromFiles;
36+
getImportStatus is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getImportStatus;
37+
38+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
39+
deployProject is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.deployProject;
40+
getDeployStatus is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getDeployStatus;
41+
listDeployments is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.listDeployments;
42+
43+
#suppress "@azure-tools/typespec-azure-core/use-standard-names" "specified in routes.tsp"
44+
getSynonyms is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getSynonyms;
45+
46+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
47+
updateSynonyms is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.updateSynonyms;
48+
49+
#suppress "@azure-tools/typespec-azure-core/use-standard-names" "specified in routes.tsp"
50+
getSources is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getSources;
51+
52+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
53+
updateSources is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.updateSources;
54+
55+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
56+
#suppress "@azure-tools/typespec-azure-core/byos" "specified in routes.tsp"
57+
updateSourcesFromFiles is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.updateSourcesFromFiles;
58+
getUpdateSourcesStatus is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getUpdateSourcesStatus;
59+
60+
#suppress "@azure-tools/typespec-azure-core/use-standard-names" "specified in routes.tsp"
61+
getQnas is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getQnas;
62+
63+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
64+
updateQnas is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.updateQnas;
65+
getUpdateQnasStatus is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.getUpdateQnasStatus;
66+
67+
#suppress "@azure-tools/typespec-azure-core/use-standard-operations" "specified in routes.tsp"
68+
addFeedback is Language.QuestionAnswering.Authoring.QuestionAnsweringProjects.addFeedback;
69+
}

specification/cognitiveservices/Language.QuestionAnswering-authoring/models.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ union updateOperationKind {
297297
}
298298

299299
/**
300-
* Collection of files containing project assets the needs to be imported.
300+
* Collection of files containing project assets that need to be imported.
301301
*/
302302
@added(Versions.v2025_05_15_preview)
303303
model ImportFiles {
@@ -331,7 +331,7 @@ model UpdateSourceFromFileOperationRecord {
331331
}
332332

333333
/**
334-
* Collection of files containing project assets the needs to be imported.
334+
* Collection of files containing project assets that need to be imported.
335335
*/
336336
@added(Versions.v2025_05_15_preview)
337337
model UpdateSourceFiles {
@@ -576,7 +576,7 @@ model ExportJobResultUrl {
576576
}
577577

578578
/**
579-
* Project assets the needs to be imported.
579+
* Project assets that need to be imported.
580580
*/
581581
model ImportJobOptions {
582582
/**

specification/cognitiveservices/Language.QuestionAnswering-authoring/tspconfig.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,21 @@ options:
1212
emitter-output-dir: "{project-root}/.."
1313
examples-dir: "{project-root}/examples"
1414
output-file: "{azure-resource-provider-folder}/Language/{version-status}/{version}/questionanswering-authoring.json"
15+
"@azure-tools/typespec-csharp":
16+
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
17+
clear-output-folder: true
18+
model-namespace: false
19+
namespace: "Azure.AI.Language.QuestionAnswering.Authoring"
20+
flavor: azure
21+
generate-sample-project: false
22+
"@azure-tools/typespec-python":
23+
package-name: "azure-ai-language-questionanswering-authoring"
24+
package-dir: "azure-ai-language-questionanswering-authoring"
25+
namespace: "azure.ai.language.questionanswering.authoring"
26+
generate-test: true
27+
generate-sample: true
28+
flavor: "azure"
29+
"@azure-typespec/http-client-csharp":
30+
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
31+
namespace: Azure.AI.Language.QuestionAnswering.Authoring
32+
model-namespace: false

specification/cognitiveservices/Language.QuestionAnswering/client.tsp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ import "./main.tsp";
22
import "@azure-tools/typespec-client-generator-core";
33

44
using Azure.ClientGenerator.Core;
5+
using TypeSpec.Versioning;
56
using Language.QuestionAnswering;
67

8+
@useDependency(Versions.v2025_05_15_preview)
9+
namespace Language.QuestionAnsweringClientCustomizations;
10+
711
@@clientName(AnswersOptions.confidenceScoreThreshold, "confidenceThreshold");
812
@@clientName(AnswersOptions.context, "answerContext");
913
@@clientName(AnswersOptions.rankerType, "rankerKind");
@@ -26,3 +30,13 @@ using Language.QuestionAnswering;
2630

2731
@@clientName(TextAnswer.confidenceScore, "confidence");
2832
@@clientName(TextAnswer.answerSpan, "shortAnswer");
33+
34+
@client({
35+
name: "QuestionAnsweringClient",
36+
service: Language.QuestionAnswering,
37+
})
38+
interface QuestionAnsweringClientOperations {
39+
getAnswers is Language.QuestionAnswering.QuestionAnswering.getAnswers;
40+
41+
getAnswersFromText is Language.QuestionAnswering.QuestionAnswering.getAnswersFromText;
42+
}

specification/cognitiveservices/Language.QuestionAnswering/tspconfig.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,21 @@ options:
1212
emitter-output-dir: "{project-root}/.."
1313
examples-dir: "{project-root}/examples"
1414
output-file: "{azure-resource-provider-folder}/Language/{version-status}/{version}/questionanswering.json"
15+
"@azure-tools/typespec-csharp":
16+
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
17+
clear-output-folder: true
18+
model-namespace: false
19+
namespace: "Azure.AI.Language.QuestionAnswering"
20+
flavor: azure
21+
generate-sample-project: false
22+
"@azure-tools/typespec-python":
23+
package-name: "azure-ai-language-questionanswering"
24+
package-dir: "azure-ai-language-questionanswering"
25+
namespace: "azure.ai.language.questionanswering"
26+
generate-test: true
27+
generate-sample: true
28+
flavor: "azure"
29+
"@azure-typespec/http-client-csharp":
30+
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
31+
namespace: Azure.AI.Language.QuestionAnswering
32+
model-namespace: false

specification/cognitiveservices/data-plane/Language/preview/2025-05-15-preview/questionanswering-authoring.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@
18911891
},
18921892
"ImportJobOptions": {
18931893
"type": "object",
1894-
"description": "Project assets the needs to be imported.",
1894+
"description": "Project assets that need to be imported.",
18951895
"properties": {
18961896
"metadata": {
18971897
"$ref": "#/definitions/QuestionAnsweringProjectMetadata",

specification/cognitiveservices/data-plane/Language/stable/2023-04-01/questionanswering-authoring.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@
17181718
},
17191719
"ImportJobOptions": {
17201720
"type": "object",
1721-
"description": "Project assets the needs to be imported.",
1721+
"description": "Project assets that need to be imported.",
17221722
"properties": {
17231723
"metadata": {
17241724
"$ref": "#/definitions/QuestionAnsweringProjectMetadata",

0 commit comments

Comments
 (0)