@azure/ai-projects 1.0.0-alpha.20250512.4 → 1.0.0-alpha.20250519.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +334 -760
- package/dist/browser/aiProjectClient.d.ts +2 -6
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +11 -17
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
- package/dist/browser/api/aiProjectContext.js +4 -5
- package/dist/browser/api/aiProjectContext.js.map +1 -1
- package/dist/browser/api/connections/operations.d.ts.map +1 -1
- package/dist/browser/api/connections/operations.js +1 -4
- package/dist/browser/api/connections/operations.js.map +1 -1
- package/dist/browser/api/connections/options.d.ts +0 -6
- package/dist/browser/api/connections/options.d.ts.map +1 -1
- package/dist/browser/api/connections/options.js.map +1 -1
- package/dist/browser/api/datasets/operations.d.ts +4 -4
- package/dist/browser/api/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/datasets/operations.js +18 -17
- package/dist/browser/api/datasets/operations.js.map +1 -1
- package/dist/browser/api/datasets/options.d.ts +0 -4
- package/dist/browser/api/datasets/options.d.ts.map +1 -1
- package/dist/browser/api/datasets/options.js +2 -0
- package/dist/browser/api/datasets/options.js.map +1 -1
- package/dist/browser/api/deployments/operations.d.ts.map +1 -1
- package/dist/browser/api/deployments/operations.js +1 -4
- package/dist/browser/api/deployments/operations.js.map +1 -1
- package/dist/browser/api/deployments/options.d.ts +0 -6
- package/dist/browser/api/deployments/options.d.ts.map +1 -1
- package/dist/browser/api/deployments/options.js.map +1 -1
- package/dist/browser/api/evaluations/index.d.ts +2 -2
- package/dist/browser/api/evaluations/index.d.ts.map +1 -1
- package/dist/browser/api/evaluations/index.js +1 -1
- package/dist/browser/api/evaluations/index.js.map +1 -1
- package/dist/browser/api/evaluations/operations.d.ts +4 -4
- package/dist/browser/api/evaluations/operations.d.ts.map +1 -1
- package/dist/browser/api/evaluations/operations.js +7 -10
- package/dist/browser/api/evaluations/operations.js.map +1 -1
- package/dist/browser/api/evaluations/options.d.ts +1 -7
- package/dist/browser/api/evaluations/options.d.ts.map +1 -1
- package/dist/browser/api/evaluations/options.js.map +1 -1
- package/dist/browser/api/indexes/operations.d.ts.map +1 -1
- package/dist/browser/api/indexes/operations.js +3 -5
- package/dist/browser/api/indexes/operations.js.map +1 -1
- package/dist/browser/api/indexes/options.d.ts +0 -4
- package/dist/browser/api/indexes/options.d.ts.map +1 -1
- package/dist/browser/api/indexes/options.js.map +1 -1
- package/dist/browser/api/inference/operations.d.ts.map +1 -1
- package/dist/browser/api/inference/operations.js +55 -57
- package/dist/browser/api/inference/operations.js.map +1 -1
- package/dist/browser/api/redTeams/index.d.ts +2 -2
- package/dist/browser/api/redTeams/index.d.ts.map +1 -1
- package/dist/browser/api/redTeams/index.js +1 -1
- package/dist/browser/api/redTeams/index.js.map +1 -1
- package/dist/browser/api/redTeams/operations.d.ts +4 -4
- package/dist/browser/api/redTeams/operations.d.ts.map +1 -1
- package/dist/browser/api/redTeams/operations.js +7 -10
- package/dist/browser/api/redTeams/operations.js.map +1 -1
- package/dist/browser/api/redTeams/options.d.ts +1 -7
- package/dist/browser/api/redTeams/options.d.ts.map +1 -1
- package/dist/browser/api/redTeams/options.js.map +1 -1
- package/dist/browser/classic/datasets/index.d.ts +3 -3
- package/dist/browser/classic/datasets/index.d.ts.map +1 -1
- package/dist/browser/classic/datasets/index.js +3 -3
- package/dist/browser/classic/datasets/index.js.map +1 -1
- package/dist/browser/classic/evaluations/index.d.ts +2 -2
- package/dist/browser/classic/evaluations/index.d.ts.map +1 -1
- package/dist/browser/classic/evaluations/index.js +2 -2
- package/dist/browser/classic/evaluations/index.js.map +1 -1
- package/dist/browser/classic/redTeams/index.d.ts +2 -2
- package/dist/browser/classic/redTeams/index.d.ts.map +1 -1
- package/dist/browser/classic/redTeams/index.js +2 -2
- package/dist/browser/classic/redTeams/index.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +40 -17
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +83 -21
- package/dist/browser/models/models.js.map +1 -1
- package/dist/commonjs/aiProjectClient.d.ts +2 -6
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +11 -17
- package/dist/commonjs/aiProjectClient.js.map +1 -1
- package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
- package/dist/commonjs/api/aiProjectContext.js +4 -5
- package/dist/commonjs/api/aiProjectContext.js.map +1 -1
- package/dist/commonjs/api/connections/operations.d.ts.map +1 -1
- package/dist/commonjs/api/connections/operations.js +1 -4
- package/dist/commonjs/api/connections/operations.js.map +1 -1
- package/dist/commonjs/api/connections/options.d.ts +0 -6
- package/dist/commonjs/api/connections/options.d.ts.map +1 -1
- package/dist/commonjs/api/connections/options.js.map +1 -1
- package/dist/commonjs/api/datasets/operations.d.ts +4 -4
- package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/operations.js +17 -16
- package/dist/commonjs/api/datasets/operations.js.map +1 -1
- package/dist/commonjs/api/datasets/options.d.ts +0 -4
- package/dist/commonjs/api/datasets/options.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/options.js +2 -0
- package/dist/commonjs/api/datasets/options.js.map +1 -1
- package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/operations.js +1 -4
- package/dist/commonjs/api/deployments/operations.js.map +1 -1
- package/dist/commonjs/api/deployments/options.d.ts +0 -6
- package/dist/commonjs/api/deployments/options.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/options.js.map +1 -1
- package/dist/commonjs/api/evaluations/index.d.ts +2 -2
- package/dist/commonjs/api/evaluations/index.d.ts.map +1 -1
- package/dist/commonjs/api/evaluations/index.js +2 -2
- package/dist/commonjs/api/evaluations/index.js.map +1 -1
- package/dist/commonjs/api/evaluations/operations.d.ts +4 -4
- package/dist/commonjs/api/evaluations/operations.d.ts.map +1 -1
- package/dist/commonjs/api/evaluations/operations.js +10 -13
- package/dist/commonjs/api/evaluations/operations.js.map +1 -1
- package/dist/commonjs/api/evaluations/options.d.ts +1 -7
- package/dist/commonjs/api/evaluations/options.d.ts.map +1 -1
- package/dist/commonjs/api/evaluations/options.js.map +1 -1
- package/dist/commonjs/api/indexes/operations.d.ts.map +1 -1
- package/dist/commonjs/api/indexes/operations.js +3 -5
- package/dist/commonjs/api/indexes/operations.js.map +1 -1
- package/dist/commonjs/api/indexes/options.d.ts +0 -4
- package/dist/commonjs/api/indexes/options.d.ts.map +1 -1
- package/dist/commonjs/api/indexes/options.js.map +1 -1
- package/dist/commonjs/api/inference/operations.d.ts.map +1 -1
- package/dist/commonjs/api/inference/operations.js +55 -56
- package/dist/commonjs/api/inference/operations.js.map +1 -1
- package/dist/commonjs/api/redTeams/index.d.ts +2 -2
- package/dist/commonjs/api/redTeams/index.d.ts.map +1 -1
- package/dist/commonjs/api/redTeams/index.js +2 -2
- package/dist/commonjs/api/redTeams/index.js.map +1 -1
- package/dist/commonjs/api/redTeams/operations.d.ts +4 -4
- package/dist/commonjs/api/redTeams/operations.d.ts.map +1 -1
- package/dist/commonjs/api/redTeams/operations.js +10 -13
- package/dist/commonjs/api/redTeams/operations.js.map +1 -1
- package/dist/commonjs/api/redTeams/options.d.ts +1 -7
- package/dist/commonjs/api/redTeams/options.d.ts.map +1 -1
- package/dist/commonjs/api/redTeams/options.js.map +1 -1
- package/dist/commonjs/classic/datasets/index.d.ts +3 -3
- package/dist/commonjs/classic/datasets/index.d.ts.map +1 -1
- package/dist/commonjs/classic/datasets/index.js +3 -3
- package/dist/commonjs/classic/datasets/index.js.map +1 -1
- package/dist/commonjs/classic/evaluations/index.d.ts +2 -2
- package/dist/commonjs/classic/evaluations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/evaluations/index.js +1 -1
- package/dist/commonjs/classic/evaluations/index.js.map +1 -1
- package/dist/commonjs/classic/redTeams/index.d.ts +2 -2
- package/dist/commonjs/classic/redTeams/index.d.ts.map +1 -1
- package/dist/commonjs/classic/redTeams/index.js +1 -1
- package/dist/commonjs/classic/redTeams/index.js.map +1 -1
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- package/dist/commonjs/index.d.ts +3 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +40 -17
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +85 -22
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/aiProjectClient.d.ts +2 -6
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +11 -17
- package/dist/esm/aiProjectClient.js.map +1 -1
- package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
- package/dist/esm/api/aiProjectContext.js +4 -5
- package/dist/esm/api/aiProjectContext.js.map +1 -1
- package/dist/esm/api/connections/operations.d.ts.map +1 -1
- package/dist/esm/api/connections/operations.js +1 -4
- package/dist/esm/api/connections/operations.js.map +1 -1
- package/dist/esm/api/connections/options.d.ts +0 -6
- package/dist/esm/api/connections/options.d.ts.map +1 -1
- package/dist/esm/api/connections/options.js.map +1 -1
- package/dist/esm/api/datasets/operations.d.ts +4 -4
- package/dist/esm/api/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/datasets/operations.js +18 -17
- package/dist/esm/api/datasets/operations.js.map +1 -1
- package/dist/esm/api/datasets/options.d.ts +0 -4
- package/dist/esm/api/datasets/options.d.ts.map +1 -1
- package/dist/esm/api/datasets/options.js +2 -0
- package/dist/esm/api/datasets/options.js.map +1 -1
- package/dist/esm/api/deployments/operations.d.ts.map +1 -1
- package/dist/esm/api/deployments/operations.js +1 -4
- package/dist/esm/api/deployments/operations.js.map +1 -1
- package/dist/esm/api/deployments/options.d.ts +0 -6
- package/dist/esm/api/deployments/options.d.ts.map +1 -1
- package/dist/esm/api/deployments/options.js.map +1 -1
- package/dist/esm/api/evaluations/index.d.ts +2 -2
- package/dist/esm/api/evaluations/index.d.ts.map +1 -1
- package/dist/esm/api/evaluations/index.js +1 -1
- package/dist/esm/api/evaluations/index.js.map +1 -1
- package/dist/esm/api/evaluations/operations.d.ts +4 -4
- package/dist/esm/api/evaluations/operations.d.ts.map +1 -1
- package/dist/esm/api/evaluations/operations.js +7 -10
- package/dist/esm/api/evaluations/operations.js.map +1 -1
- package/dist/esm/api/evaluations/options.d.ts +1 -7
- package/dist/esm/api/evaluations/options.d.ts.map +1 -1
- package/dist/esm/api/evaluations/options.js.map +1 -1
- package/dist/esm/api/indexes/operations.d.ts.map +1 -1
- package/dist/esm/api/indexes/operations.js +3 -5
- package/dist/esm/api/indexes/operations.js.map +1 -1
- package/dist/esm/api/indexes/options.d.ts +0 -4
- package/dist/esm/api/indexes/options.d.ts.map +1 -1
- package/dist/esm/api/indexes/options.js.map +1 -1
- package/dist/esm/api/inference/operations.d.ts.map +1 -1
- package/dist/esm/api/inference/operations.js +55 -57
- package/dist/esm/api/inference/operations.js.map +1 -1
- package/dist/esm/api/redTeams/index.d.ts +2 -2
- package/dist/esm/api/redTeams/index.d.ts.map +1 -1
- package/dist/esm/api/redTeams/index.js +1 -1
- package/dist/esm/api/redTeams/index.js.map +1 -1
- package/dist/esm/api/redTeams/operations.d.ts +4 -4
- package/dist/esm/api/redTeams/operations.d.ts.map +1 -1
- package/dist/esm/api/redTeams/operations.js +7 -10
- package/dist/esm/api/redTeams/operations.js.map +1 -1
- package/dist/esm/api/redTeams/options.d.ts +1 -7
- package/dist/esm/api/redTeams/options.d.ts.map +1 -1
- package/dist/esm/api/redTeams/options.js.map +1 -1
- package/dist/esm/classic/datasets/index.d.ts +3 -3
- package/dist/esm/classic/datasets/index.d.ts.map +1 -1
- package/dist/esm/classic/datasets/index.js +3 -3
- package/dist/esm/classic/datasets/index.js.map +1 -1
- package/dist/esm/classic/evaluations/index.d.ts +2 -2
- package/dist/esm/classic/evaluations/index.d.ts.map +1 -1
- package/dist/esm/classic/evaluations/index.js +2 -2
- package/dist/esm/classic/evaluations/index.js.map +1 -1
- package/dist/esm/classic/redTeams/index.d.ts +2 -2
- package/dist/esm/classic/redTeams/index.d.ts.map +1 -1
- package/dist/esm/classic/redTeams/index.js +2 -2
- package/dist/esm/classic/redTeams/index.js.map +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +40 -17
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +83 -21
- package/dist/esm/models/models.js.map +1 -1
- package/dist/react-native/aiProjectClient.d.ts +2 -6
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +11 -17
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
- package/dist/react-native/api/aiProjectContext.js +4 -5
- package/dist/react-native/api/aiProjectContext.js.map +1 -1
- package/dist/react-native/api/connections/operations.d.ts.map +1 -1
- package/dist/react-native/api/connections/operations.js +1 -4
- package/dist/react-native/api/connections/operations.js.map +1 -1
- package/dist/react-native/api/connections/options.d.ts +0 -6
- package/dist/react-native/api/connections/options.d.ts.map +1 -1
- package/dist/react-native/api/connections/options.js.map +1 -1
- package/dist/react-native/api/datasets/operations.d.ts +4 -4
- package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/datasets/operations.js +18 -17
- package/dist/react-native/api/datasets/operations.js.map +1 -1
- package/dist/react-native/api/datasets/options.d.ts +0 -4
- package/dist/react-native/api/datasets/options.d.ts.map +1 -1
- package/dist/react-native/api/datasets/options.js +2 -0
- package/dist/react-native/api/datasets/options.js.map +1 -1
- package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
- package/dist/react-native/api/deployments/operations.js +1 -4
- package/dist/react-native/api/deployments/operations.js.map +1 -1
- package/dist/react-native/api/deployments/options.d.ts +0 -6
- package/dist/react-native/api/deployments/options.d.ts.map +1 -1
- package/dist/react-native/api/deployments/options.js.map +1 -1
- package/dist/react-native/api/evaluations/index.d.ts +2 -2
- package/dist/react-native/api/evaluations/index.d.ts.map +1 -1
- package/dist/react-native/api/evaluations/index.js +1 -1
- package/dist/react-native/api/evaluations/index.js.map +1 -1
- package/dist/react-native/api/evaluations/operations.d.ts +4 -4
- package/dist/react-native/api/evaluations/operations.d.ts.map +1 -1
- package/dist/react-native/api/evaluations/operations.js +7 -10
- package/dist/react-native/api/evaluations/operations.js.map +1 -1
- package/dist/react-native/api/evaluations/options.d.ts +1 -7
- package/dist/react-native/api/evaluations/options.d.ts.map +1 -1
- package/dist/react-native/api/evaluations/options.js.map +1 -1
- package/dist/react-native/api/indexes/operations.d.ts.map +1 -1
- package/dist/react-native/api/indexes/operations.js +3 -5
- package/dist/react-native/api/indexes/operations.js.map +1 -1
- package/dist/react-native/api/indexes/options.d.ts +0 -4
- package/dist/react-native/api/indexes/options.d.ts.map +1 -1
- package/dist/react-native/api/indexes/options.js.map +1 -1
- package/dist/react-native/api/inference/operations.d.ts.map +1 -1
- package/dist/react-native/api/inference/operations.js +55 -57
- package/dist/react-native/api/inference/operations.js.map +1 -1
- package/dist/react-native/api/redTeams/index.d.ts +2 -2
- package/dist/react-native/api/redTeams/index.d.ts.map +1 -1
- package/dist/react-native/api/redTeams/index.js +1 -1
- package/dist/react-native/api/redTeams/index.js.map +1 -1
- package/dist/react-native/api/redTeams/operations.d.ts +4 -4
- package/dist/react-native/api/redTeams/operations.d.ts.map +1 -1
- package/dist/react-native/api/redTeams/operations.js +7 -10
- package/dist/react-native/api/redTeams/operations.js.map +1 -1
- package/dist/react-native/api/redTeams/options.d.ts +1 -7
- package/dist/react-native/api/redTeams/options.d.ts.map +1 -1
- package/dist/react-native/api/redTeams/options.js.map +1 -1
- package/dist/react-native/classic/datasets/index.d.ts +3 -3
- package/dist/react-native/classic/datasets/index.d.ts.map +1 -1
- package/dist/react-native/classic/datasets/index.js +3 -3
- package/dist/react-native/classic/datasets/index.js.map +1 -1
- package/dist/react-native/classic/evaluations/index.d.ts +2 -2
- package/dist/react-native/classic/evaluations/index.d.ts.map +1 -1
- package/dist/react-native/classic/evaluations/index.js +2 -2
- package/dist/react-native/classic/evaluations/index.js.map +1 -1
- package/dist/react-native/classic/redTeams/index.d.ts +2 -2
- package/dist/react-native/classic/redTeams/index.d.ts.map +1 -1
- package/dist/react-native/classic/redTeams/index.js +2 -2
- package/dist/react-native/classic/redTeams/index.js.map +1 -1
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/index.d.ts +3 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +40 -17
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +83 -21
- package/dist/react-native/models/models.js.map +1 -1
- package/package.json +14 -26
|
@@ -51,7 +51,6 @@ exports.pendingUploadRequestSerializer = pendingUploadRequestSerializer;
|
|
|
51
51
|
exports.pendingUploadResponseDeserializer = pendingUploadResponseDeserializer;
|
|
52
52
|
exports.blobReferenceDeserializer = blobReferenceDeserializer;
|
|
53
53
|
exports.sasCredentialDeserializer = sasCredentialDeserializer;
|
|
54
|
-
exports._getCredentialsRequestSerializer = _getCredentialsRequestSerializer;
|
|
55
54
|
exports.assetCredentialResponseDeserializer = assetCredentialResponseDeserializer;
|
|
56
55
|
exports._pagedIndexDeserializer = _pagedIndexDeserializer;
|
|
57
56
|
exports.indexUnionArraySerializer = indexUnionArraySerializer;
|
|
@@ -62,6 +61,8 @@ exports.indexUnionSerializer = indexUnionSerializer;
|
|
|
62
61
|
exports.indexUnionDeserializer = indexUnionDeserializer;
|
|
63
62
|
exports.azureAISearchIndexSerializer = azureAISearchIndexSerializer;
|
|
64
63
|
exports.azureAISearchIndexDeserializer = azureAISearchIndexDeserializer;
|
|
64
|
+
exports.fieldMappingSerializer = fieldMappingSerializer;
|
|
65
|
+
exports.fieldMappingDeserializer = fieldMappingDeserializer;
|
|
65
66
|
exports.managedAzureAISearchIndexSerializer = managedAzureAISearchIndexSerializer;
|
|
66
67
|
exports.managedAzureAISearchIndexDeserializer = managedAzureAISearchIndexDeserializer;
|
|
67
68
|
exports.cosmosDBIndexSerializer = cosmosDBIndexSerializer;
|
|
@@ -88,6 +89,7 @@ exports.redTeamArrayDeserializer = redTeamArrayDeserializer;
|
|
|
88
89
|
function connectionDeserializer(item) {
|
|
89
90
|
return {
|
|
90
91
|
name: item["name"],
|
|
92
|
+
id: item["id"],
|
|
91
93
|
type: item["type"],
|
|
92
94
|
target: item["target"],
|
|
93
95
|
metadata: item["metadata"],
|
|
@@ -196,7 +198,8 @@ function inputDataUnionSerializer(item) {
|
|
|
196
198
|
return inputDataSerializer(item);
|
|
197
199
|
}
|
|
198
200
|
}
|
|
199
|
-
function inputDataUnionDeserializer(
|
|
201
|
+
function inputDataUnionDeserializer(_item) {
|
|
202
|
+
const item = _item || {};
|
|
200
203
|
switch (item.type) {
|
|
201
204
|
case "dataset":
|
|
202
205
|
return inputDatasetDeserializer(item);
|
|
@@ -299,6 +302,7 @@ function agentEvaluationResultArrayDeserializer(result) {
|
|
|
299
302
|
function agentEvaluationResultDeserializer(item) {
|
|
300
303
|
return {
|
|
301
304
|
evaluator: item["evaluator"],
|
|
305
|
+
evaluatorId: item["evaluatorId"],
|
|
302
306
|
score: item["score"],
|
|
303
307
|
status: item["status"],
|
|
304
308
|
reason: item["reason"],
|
|
@@ -329,6 +333,7 @@ function datasetVersionSerializer(item) {
|
|
|
329
333
|
return {
|
|
330
334
|
dataUri: item["dataUri"],
|
|
331
335
|
type: item["type"],
|
|
336
|
+
connectionName: item["connectionName"],
|
|
332
337
|
description: item["description"],
|
|
333
338
|
tags: item["tags"],
|
|
334
339
|
};
|
|
@@ -338,6 +343,7 @@ function datasetVersionDeserializer(item) {
|
|
|
338
343
|
dataUri: item["dataUri"],
|
|
339
344
|
type: item["type"],
|
|
340
345
|
isReference: item["isReference"],
|
|
346
|
+
connectionName: item["connectionName"],
|
|
341
347
|
id: item["id"],
|
|
342
348
|
name: item["name"],
|
|
343
349
|
version: item["version"],
|
|
@@ -369,6 +375,7 @@ function fileDatasetVersionSerializer(item) {
|
|
|
369
375
|
return {
|
|
370
376
|
dataUri: item["dataUri"],
|
|
371
377
|
type: item["type"],
|
|
378
|
+
connectionName: item["connectionName"],
|
|
372
379
|
description: item["description"],
|
|
373
380
|
tags: item["tags"],
|
|
374
381
|
};
|
|
@@ -378,6 +385,7 @@ function fileDatasetVersionDeserializer(item) {
|
|
|
378
385
|
dataUri: item["dataUri"],
|
|
379
386
|
type: item["type"],
|
|
380
387
|
isReference: item["isReference"],
|
|
388
|
+
connectionName: item["connectionName"],
|
|
381
389
|
id: item["id"],
|
|
382
390
|
name: item["name"],
|
|
383
391
|
version: item["version"],
|
|
@@ -389,6 +397,7 @@ function folderDatasetVersionSerializer(item) {
|
|
|
389
397
|
return {
|
|
390
398
|
dataUri: item["dataUri"],
|
|
391
399
|
type: item["type"],
|
|
400
|
+
connectionName: item["connectionName"],
|
|
392
401
|
description: item["description"],
|
|
393
402
|
tags: item["tags"],
|
|
394
403
|
};
|
|
@@ -398,6 +407,7 @@ function folderDatasetVersionDeserializer(item) {
|
|
|
398
407
|
dataUri: item["dataUri"],
|
|
399
408
|
type: item["type"],
|
|
400
409
|
isReference: item["isReference"],
|
|
410
|
+
connectionName: item["connectionName"],
|
|
401
411
|
id: item["id"],
|
|
402
412
|
name: item["name"],
|
|
403
413
|
version: item["version"],
|
|
@@ -433,9 +443,6 @@ function sasCredentialDeserializer(item) {
|
|
|
433
443
|
type: item["type"],
|
|
434
444
|
};
|
|
435
445
|
}
|
|
436
|
-
function _getCredentialsRequestSerializer(item) {
|
|
437
|
-
return item;
|
|
438
|
-
}
|
|
439
446
|
function assetCredentialResponseDeserializer(item) {
|
|
440
447
|
return {
|
|
441
448
|
blobReference: blobReferenceDeserializer(item["blobReference"]),
|
|
@@ -505,6 +512,9 @@ function azureAISearchIndexSerializer(item) {
|
|
|
505
512
|
tags: item["tags"],
|
|
506
513
|
connectionName: item["connectionName"],
|
|
507
514
|
indexName: item["indexName"],
|
|
515
|
+
fieldMapping: !item["fieldMapping"]
|
|
516
|
+
? item["fieldMapping"]
|
|
517
|
+
: fieldMappingSerializer(item["fieldMapping"]),
|
|
508
518
|
};
|
|
509
519
|
}
|
|
510
520
|
function azureAISearchIndexDeserializer(item) {
|
|
@@ -517,6 +527,49 @@ function azureAISearchIndexDeserializer(item) {
|
|
|
517
527
|
tags: item["tags"],
|
|
518
528
|
connectionName: item["connectionName"],
|
|
519
529
|
indexName: item["indexName"],
|
|
530
|
+
fieldMapping: !item["fieldMapping"]
|
|
531
|
+
? item["fieldMapping"]
|
|
532
|
+
: fieldMappingDeserializer(item["fieldMapping"]),
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function fieldMappingSerializer(item) {
|
|
536
|
+
return {
|
|
537
|
+
contentFields: item["contentFields"].map((p) => {
|
|
538
|
+
return p;
|
|
539
|
+
}),
|
|
540
|
+
filepathField: item["filepathField"],
|
|
541
|
+
titleField: item["titleField"],
|
|
542
|
+
urlField: item["urlField"],
|
|
543
|
+
vectorFields: !item["vectorFields"]
|
|
544
|
+
? item["vectorFields"]
|
|
545
|
+
: item["vectorFields"].map((p) => {
|
|
546
|
+
return p;
|
|
547
|
+
}),
|
|
548
|
+
metadataFields: !item["metadataFields"]
|
|
549
|
+
? item["metadataFields"]
|
|
550
|
+
: item["metadataFields"].map((p) => {
|
|
551
|
+
return p;
|
|
552
|
+
}),
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
function fieldMappingDeserializer(item) {
|
|
556
|
+
return {
|
|
557
|
+
contentFields: item["contentFields"].map((p) => {
|
|
558
|
+
return p;
|
|
559
|
+
}),
|
|
560
|
+
filepathField: item["filepathField"],
|
|
561
|
+
titleField: item["titleField"],
|
|
562
|
+
urlField: item["urlField"],
|
|
563
|
+
vectorFields: !item["vectorFields"]
|
|
564
|
+
? item["vectorFields"]
|
|
565
|
+
: item["vectorFields"].map((p) => {
|
|
566
|
+
return p;
|
|
567
|
+
}),
|
|
568
|
+
metadataFields: !item["metadataFields"]
|
|
569
|
+
? item["metadataFields"]
|
|
570
|
+
: item["metadataFields"].map((p) => {
|
|
571
|
+
return p;
|
|
572
|
+
}),
|
|
520
573
|
};
|
|
521
574
|
}
|
|
522
575
|
function managedAzureAISearchIndexSerializer(item) {
|
|
@@ -547,6 +600,7 @@ function cosmosDBIndexSerializer(item) {
|
|
|
547
600
|
databaseName: item["databaseName"],
|
|
548
601
|
containerName: item["containerName"],
|
|
549
602
|
embeddingConfiguration: embeddingConfigurationSerializer(item["embeddingConfiguration"]),
|
|
603
|
+
fieldMapping: fieldMappingSerializer(item["fieldMapping"]),
|
|
550
604
|
};
|
|
551
605
|
}
|
|
552
606
|
function cosmosDBIndexDeserializer(item) {
|
|
@@ -561,6 +615,7 @@ function cosmosDBIndexDeserializer(item) {
|
|
|
561
615
|
databaseName: item["databaseName"],
|
|
562
616
|
containerName: item["containerName"],
|
|
563
617
|
embeddingConfiguration: embeddingConfigurationDeserializer(item["embeddingConfiguration"]),
|
|
618
|
+
fieldMapping: fieldMappingDeserializer(item["fieldMapping"]),
|
|
564
619
|
};
|
|
565
620
|
}
|
|
566
621
|
function embeddingConfigurationSerializer(item) {
|
|
@@ -623,38 +678,46 @@ function deploymentUnionArrayDeserializer(result) {
|
|
|
623
678
|
}
|
|
624
679
|
function redTeamSerializer(item) {
|
|
625
680
|
return {
|
|
626
|
-
|
|
681
|
+
displayName: item["displayName"],
|
|
627
682
|
numTurns: item["numTurns"],
|
|
628
|
-
attackStrategies: item["attackStrategies"]
|
|
629
|
-
|
|
630
|
-
|
|
683
|
+
attackStrategies: !item["attackStrategies"]
|
|
684
|
+
? item["attackStrategies"]
|
|
685
|
+
: item["attackStrategies"].map((p) => {
|
|
686
|
+
return p;
|
|
687
|
+
}),
|
|
631
688
|
simulationOnly: item["simulationOnly"],
|
|
632
|
-
riskCategories: item["riskCategories"]
|
|
633
|
-
|
|
634
|
-
|
|
689
|
+
riskCategories: !item["riskCategories"]
|
|
690
|
+
? item["riskCategories"]
|
|
691
|
+
: item["riskCategories"].map((p) => {
|
|
692
|
+
return p;
|
|
693
|
+
}),
|
|
635
694
|
applicationScenario: item["applicationScenario"],
|
|
636
695
|
tags: item["tags"],
|
|
637
696
|
properties: item["properties"],
|
|
638
|
-
|
|
697
|
+
target: targetConfigUnionSerializer(item["target"]),
|
|
639
698
|
};
|
|
640
699
|
}
|
|
641
700
|
function redTeamDeserializer(item) {
|
|
642
701
|
return {
|
|
643
|
-
|
|
644
|
-
|
|
702
|
+
name: item["id"],
|
|
703
|
+
displayName: item["displayName"],
|
|
645
704
|
numTurns: item["numTurns"],
|
|
646
|
-
attackStrategies: item["attackStrategies"]
|
|
647
|
-
|
|
648
|
-
|
|
705
|
+
attackStrategies: !item["attackStrategies"]
|
|
706
|
+
? item["attackStrategies"]
|
|
707
|
+
: item["attackStrategies"].map((p) => {
|
|
708
|
+
return p;
|
|
709
|
+
}),
|
|
649
710
|
simulationOnly: item["simulationOnly"],
|
|
650
|
-
riskCategories: item["riskCategories"]
|
|
651
|
-
|
|
652
|
-
|
|
711
|
+
riskCategories: !item["riskCategories"]
|
|
712
|
+
? item["riskCategories"]
|
|
713
|
+
: item["riskCategories"].map((p) => {
|
|
714
|
+
return p;
|
|
715
|
+
}),
|
|
653
716
|
applicationScenario: item["applicationScenario"],
|
|
654
717
|
tags: item["tags"],
|
|
655
718
|
properties: item["properties"],
|
|
656
719
|
status: item["status"],
|
|
657
|
-
|
|
720
|
+
target: targetConfigUnionDeserializer(item["target"]),
|
|
658
721
|
};
|
|
659
722
|
}
|
|
660
723
|
function targetConfigSerializer(item) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,yDAAyD;;;AAqCzD,wDAWC;AAED,kEAIC;AAWD,4EAoBC;AAaD,sEAKC;AAQD,wEAIC;AAUD,oEAKC;AAUD,gEAKC;AAQD,0FAIC;AAUD,oEAKC;AAED,kEAIC;AA0BD,oDASC;AAED,wDAWC;AASD,kDAEC;AAED,sDAIC;AAKD,4DAQC;AAED,gEAQC;AAUD,wDAEC;AAED,4DAKC;AAED,wFAQC;AAED,4FAQC;AAYD,4EAMC;AAED,gFAMC;AAUD,oEAKC;AAED,8DAIC;AAED,kEAIC;AAkBD,4EAaC;AAYD,wGAQC;AAQD,0GAIC;AAcD,kEASC;AAED,wFAMC;AAwBD,8EAYC;AAUD,4EAKC;AAED,gFAIC;AAED,oFAIC;AAuBD,4DAOC;AAED,gEAWC;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C,IAAqC,CAAC,CAAC;QAE1F;YACE,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;AACH,CAAC;AAUD,SAAgB,uCAAuC,CAAC,IAAmC;IACzF,OAAO,EAAE,mBAAmB,EAAE,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC;AAC9D,CAAC;AAED,SAAgB,yCAAyC,CACvD,IAAS;IAET,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,mBAAmB,EAAE,IAAI,CAAC,qBAAqB,CAAC;KACjD,CAAC;AACJ,CAAC;AAUD,SAAgB,yBAAyB,CAAC,IAAS;IACjD,OAAO;QACL,KAAK,EAAE,wBAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,sBAAsB,CAAC,MAAsB;IAC3D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,wBAAwB,CAAC,MAAsB;IAC7D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC;AAKD,qCAAqC;AACrC,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uCAAuC;IACvC,yCAAwB,CAAA;IACxB,+CAA+C;IAC/C,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/** Response from the list and get connections operations */\nexport interface Connection {\n /** The name of the resource */\n readonly name: string;\n /** Category of the connection */\n readonly type: ConnectionType;\n /** The connection URL to be used for this service */\n readonly target: string;\n /** Whether the connection is tagged as the default connection of its type */\n readonly isDefault: boolean;\n /** The credentials used by the connection */\n readonly credentials: BaseCredentialsUnion;\n /** Metadata of the connection */\n readonly metadata: Record<string, string>;\n}\n\n/** The Type (or category) of the connection */\nexport type ConnectionType =\n | \"AzureOpenAI\"\n | \"AzureBlob\"\n | \"AzureStorageAccount\"\n | \"CognitiveSearch\"\n | \"CosmosDB\"\n | \"ApiKey\"\n | \"AppConfig\"\n | \"AppInsights\"\n | \"CustomKeys\";\n\n/** A base class for connection credentials */\nexport interface BaseCredentials {\n /** The type of credential used by the connection */\n /** The discriminator possible values: ApiKey, AAD, CustomKeys, SAS, None */\n readonly type: CredentialType;\n}\n\nexport function connectionDeserializer(item: any): Connection {\n return {\n name: item[\"name\"],\n type: item[\"type\"],\n target: item[\"target\"],\n metadata: item[\"metadata\"],\n isDefault: item[\"isDefault\"],\n credentials: item[\"credentials\"]\n ? baseCredentialsUnionDeserializer(item[\"credentials\"])\n : { type: \"None\" },\n };\n}\n\nexport function baseCredentialsDeserializer(item: any): BaseCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for BaseCredentialsUnion */\nexport type BaseCredentialsUnion =\n | ApiKeyCredentials\n | EntraIDCredentials\n | CustomCredential\n | SASCredentials\n | NoAuthenticationCredentials\n | BaseCredentials;\n\nexport function baseCredentialsUnionDeserializer(item: any): BaseCredentialsUnion {\n switch (item.type) {\n case \"ApiKey\":\n return apiKeyCredentialsDeserializer(item as ApiKeyCredentials);\n\n case \"AAD\":\n return entraIDCredentialsDeserializer(item as EntraIDCredentials);\n\n case \"CustomKeys\":\n return customCredentialDeserializer(item as CustomCredential);\n\n case \"SAS\":\n return sasCredentialsDeserializer(item as SASCredentials);\n\n case \"None\":\n return noAuthenticationCredentialsDeserializer(item as NoAuthenticationCredentials);\n\n default:\n return baseCredentialsDeserializer(item);\n }\n}\n\n/** The credential type used by the connection */\nexport type CredentialType = \"ApiKey\" | \"AAD\" | \"SAS\" | \"CustomKeys\" | \"None\";\n\n/** API Key Credential definition */\nexport interface ApiKeyCredentials extends BaseCredentials {\n /** The credentail type */\n readonly type: \"ApiKey\";\n /** API Key */\n readonly apiKey?: string;\n}\n\nexport function apiKeyCredentialsDeserializer(item: any): ApiKeyCredentials {\n return {\n type: item[\"type\"],\n apiKey: item[\"key\"],\n };\n}\n\n/** Entra ID credential definition */\nexport interface EntraIDCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"AAD\";\n}\n\nexport function entraIDCredentialsDeserializer(item: any): EntraIDCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Custom credential definition */\nexport interface CustomCredential extends BaseCredentials {\n /** The credential type */\n readonly type: \"CustomKeys\";\n /** The credential type */\n readonly keys: Record<string, string>;\n}\n\nexport function customCredentialDeserializer(item: any): CustomCredential {\n return {\n type: item[\"type\"],\n keys: item[\"keys\"],\n };\n}\n\n/** Shared Access Signature (SAS) credential definition */\nexport interface SASCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"SAS\";\n /** SAS token */\n readonly sasToken?: string;\n}\n\nexport function sasCredentialsDeserializer(item: any): SASCredentials {\n return {\n type: item[\"type\"],\n sasToken: item[\"SAS\"],\n };\n}\n\n/** Credentials that do not require authentication */\nexport interface NoAuthenticationCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"None\";\n}\n\nexport function noAuthenticationCredentialsDeserializer(item: any): NoAuthenticationCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Paged collection of Connection items */\nexport interface _PagedConnection {\n /** The Connection items on this page */\n value: Connection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedConnectionDeserializer(item: any): _PagedConnection {\n return {\n value: connectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function connectionArrayDeserializer(result: Array<Connection>): any[] {\n return result.map((item) => {\n return connectionDeserializer(item);\n });\n}\n\n/** Evaluation Definition */\nexport interface Evaluation {\n /** Identifier of the evaluation. */\n readonly name: string;\n /** Data for evaluation. */\n data: InputDataUnion;\n /** Display Name for evaluation. It helps to find the evaluation easily in AI Foundry. It does not need to be unique. */\n displayName?: string;\n /** Description of the evaluation. It can be used to store additional information about the evaluation and is mutable. */\n description?: string;\n /** Status of the evaluation. It is set by service and is read-only. */\n readonly status?: string;\n /** Evaluation's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n}\n\n/** optional id property for Evaluation, which shouldbe used for create operation */\nexport type EvaluationWithOptionalName = Omit<Evaluation, \"name\"> & { name?: string };\n\n// optional name property\nexport function evaluationSerializer(item: EvaluationWithOptionalName): any {\n return {\n data: inputDataUnionSerializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n };\n}\n\nexport function evaluationDeserializer(item: any): Evaluation {\n return {\n name: item[\"id\"],\n data: inputDataUnionDeserializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n status: item[\"status\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordDeserializer(item[\"evaluators\"]),\n };\n}\n\n/** Abstract data class. */\nexport interface InputData {\n /** Type of the data */\n /** The discriminator possible values: dataset */\n type: string;\n}\n\nexport function inputDataSerializer(item: InputData): any {\n return { type: item[\"type\"] };\n}\n\nexport function inputDataDeserializer(item: any): InputData {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for InputDataUnion */\nexport type InputDataUnion = InputDataset | InputData;\n\nexport function inputDataUnionSerializer(item: InputDataUnion): any {\n switch (item.type) {\n case \"dataset\":\n return inputDatasetSerializer(item as InputDataset);\n\n default:\n return inputDataSerializer(item);\n }\n}\n\nexport function inputDataUnionDeserializer(item: any): InputDataUnion {\n switch (item.type) {\n case \"dataset\":\n return inputDatasetDeserializer(item as InputDataset);\n\n default:\n return inputDataDeserializer(item);\n }\n}\n\n/** Dataset as source for evaluation. */\nexport interface InputDataset extends InputData {\n /** Type of the data */\n type: \"dataset\";\n /** Evaluation input data */\n id: string;\n}\n\nexport function inputDatasetSerializer(item: InputDataset): any {\n return { type: item[\"type\"], id: item[\"id\"] };\n}\n\nexport function inputDatasetDeserializer(item: any): InputDataset {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n };\n}\n\nexport function evaluatorConfigurationRecordSerializer(\n item: Record<string, EvaluatorConfiguration>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationSerializer(item[key]);\n });\n return result;\n}\n\nexport function evaluatorConfigurationRecordDeserializer(\n item: Record<string, any>,\n): Record<string, EvaluatorConfiguration> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationDeserializer(item[key]);\n });\n return result;\n}\n\n/** Evaluator Configuration */\nexport interface EvaluatorConfiguration {\n /** Identifier of the evaluator. */\n id: string;\n /** Initialization parameters of the evaluator. */\n initParams?: Record<string, any>;\n /** Data parameters of the evaluator. */\n dataMapping?: Record<string, string>;\n}\n\nexport function evaluatorConfigurationSerializer(item: EvaluatorConfiguration): any {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\nexport function evaluatorConfigurationDeserializer(item: any): EvaluatorConfiguration {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\n/** Paged collection of Evaluation items */\nexport interface _PagedEvaluation {\n /** The Evaluation items on this page */\n value: Evaluation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedEvaluationDeserializer(item: any): _PagedEvaluation {\n return {\n value: evaluationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function evaluationArraySerializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationSerializer(item);\n });\n}\n\nexport function evaluationArrayDeserializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationDeserializer(item);\n });\n}\n\n/** Evaluation request for agent run. */\nexport interface AgentEvaluationRequest {\n /** Identifier of the agent run. */\n runId: string;\n /** Identifier of the agent thread. This field is mandatory currently, but it will be optional in the future. */\n threadId?: string;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n /** Sampling configuration for the evaluation. */\n samplingConfiguration?: AgentEvaluationSamplingConfiguration;\n /** Redaction configuration for the evaluation. */\n redactionConfiguration?: AgentEvaluationRedactionConfiguration;\n /** Pass the AppInsights connection string to the agent evaluation for the evaluation results and the errors logs. */\n appInsightsConnectionString: string;\n}\n\nexport function agentEvaluationRequestSerializer(item: AgentEvaluationRequest): any {\n return {\n runId: item[\"runId\"],\n threadId: item[\"threadId\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n samplingConfiguration: !item[\"samplingConfiguration\"]\n ? item[\"samplingConfiguration\"]\n : agentEvaluationSamplingConfigurationSerializer(item[\"samplingConfiguration\"]),\n redactionConfiguration: !item[\"redactionConfiguration\"]\n ? item[\"redactionConfiguration\"]\n : agentEvaluationRedactionConfigurationSerializer(item[\"redactionConfiguration\"]),\n appInsightsConnectionString: item[\"appInsightsConnectionString\"],\n };\n}\n\n/** Definition for sampling strategy. */\nexport interface AgentEvaluationSamplingConfiguration {\n /** Name of the sampling strategy. */\n name: string;\n /** Percentage of sampling per hour (0-100). */\n samplingPercent: number;\n /** Maximum request rate per hour (0 to 1000). */\n maxRequestRate: number;\n}\n\nexport function agentEvaluationSamplingConfigurationSerializer(\n item: AgentEvaluationSamplingConfiguration,\n): any {\n return {\n name: item[\"name\"],\n samplingPercent: item[\"samplingPercent\"],\n maxRequestRate: item[\"maxRequestRate\"],\n };\n}\n\n/** The redaction configuration will allow the user to control what is redacted. */\nexport interface AgentEvaluationRedactionConfiguration {\n /** Redact score properties. If not specified, the default is to redact in production. */\n redactScoreProperties?: boolean;\n}\n\nexport function agentEvaluationRedactionConfigurationSerializer(\n item: AgentEvaluationRedactionConfiguration,\n): any {\n return { redactScoreProperties: item[\"redactScoreProperties\"] };\n}\n\n/** Evaluation response for agent evaluation run. */\nexport interface AgentEvaluation {\n /** Identifier of the agent evaluation run. */\n id: string;\n /** Status of the agent evaluation. Options: Running, Completed, Failed. */\n status: string;\n /** The reason of the request failure for the long running process, if applicable. */\n error?: string;\n /** The agent evaluation result. */\n result?: AgentEvaluationResult[];\n}\n\nexport function agentEvaluationDeserializer(item: any): AgentEvaluation {\n return {\n id: item[\"id\"],\n status: item[\"status\"],\n error: item[\"error\"],\n result: !item[\"result\"]\n ? item[\"result\"]\n : agentEvaluationResultArrayDeserializer(item[\"result\"]),\n };\n}\n\nexport function agentEvaluationResultArrayDeserializer(\n result: Array<AgentEvaluationResult>,\n): any[] {\n return result.map((item) => {\n return agentEvaluationResultDeserializer(item);\n });\n}\n\n/** Result for the agent evaluation evaluator run. */\nexport interface AgentEvaluationResult {\n /** Evaluator's name. This is the name of the evaluator that was used to evaluate the agent's completion. */\n evaluator: string;\n /** Score of the given evaluator. No restriction on range. */\n score: number;\n /** Status of the evaluator result. Options: Running, Completed, Failed, NotApplicable. */\n status: string;\n /** Reasoning for the evaluation result. */\n reason?: string;\n /** Version of the evaluator that was used to evaluate the agent's completion. */\n version?: string;\n /** The unique identifier of the thread. */\n threadId?: string;\n /** The unique identifier of the run. */\n runId: string;\n /** A string explaining why there was an error, if applicable. */\n error?: string;\n /** Additional properties relevant to the evaluator. These will differ between evaluators. */\n additionalDetails?: Record<string, string>;\n}\n\nexport function agentEvaluationResultDeserializer(item: any): AgentEvaluationResult {\n return {\n evaluator: item[\"evaluator\"],\n score: item[\"score\"],\n status: item[\"status\"],\n reason: item[\"reason\"],\n version: item[\"version\"],\n threadId: item[\"threadId\"],\n runId: item[\"runId\"],\n error: item[\"error\"],\n additionalDetails: item[\"additionalDetails\"],\n };\n}\n\n/** Paged collection of DatasetVersion items */\nexport interface _PagedDatasetVersion {\n /** The DatasetVersion items on this page */\n value: DatasetVersionUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDatasetVersionDeserializer(item: any): _PagedDatasetVersion {\n return {\n value: datasetVersionUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function datasetVersionUnionArraySerializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionSerializer(item);\n });\n}\n\nexport function datasetVersionUnionArrayDeserializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionDeserializer(item);\n });\n}\n\n/** DatasetVersion Definition */\nexport interface DatasetVersion {\n /** URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */\n dataUri: string;\n /** Dataset type */\n /** The discriminator possible values: uri_file, uri_folder */\n type: DatasetType;\n /** Indicates if dataset is reference only or managed by dataset service. If true, the underlying data will be deleted when the dataset version is deleted */\n readonly isReference?: boolean;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function datasetVersionSerializer(item: DatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function datasetVersionDeserializer(item: any): DatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for DatasetVersionUnion */\nexport type DatasetVersionUnion = FileDatasetVersion | FolderDatasetVersion | DatasetVersion;\n\nexport function datasetVersionUnionSerializer(item: DatasetVersionUnion): any {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionSerializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionSerializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionSerializer(item);\n }\n}\n\nexport function datasetVersionUnionDeserializer(item: any): DatasetVersionUnion {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionDeserializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionDeserializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionDeserializer(item);\n }\n}\n\n/** Enum to determine the type of data. */\nexport type DatasetType = \"uri_file\" | \"uri_folder\";\n\n/** FileDatasetVersion Definition */\nexport interface FileDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_file\";\n}\n\nexport function fileDatasetVersionSerializer(item: FileDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function fileDatasetVersionDeserializer(item: any): FileDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** FileDatasetVersion Definition */\nexport interface FolderDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_folder\";\n}\n\nexport function folderDatasetVersionSerializer(item: FolderDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function folderDatasetVersionDeserializer(item: any): FolderDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Represents a request for a pending upload. */\nexport interface PendingUploadRequest {\n /** If PendingUploadId is not provided, a random GUID will be used. */\n pendingUploadId?: string;\n /** Name of Azure blob storage connection to use for generating temporary SAS token */\n connectionName?: string;\n /** BlobReference is the only supported type. */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadRequestSerializer(item: PendingUploadRequest): any {\n return {\n pendingUploadId: item[\"pendingUploadId\"],\n connectionName: item[\"connectionName\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Represents the response for a pending upload request */\nexport interface PendingUploadResponse {\n /** Container-level read, write, list SAS. */\n blobReference: BlobReference;\n /** ID for this upload request. */\n pendingUploadId: string;\n /** Version of asset to be created if user did not specify version when initially creating upload */\n version?: string;\n /** BlobReference is the only supported type */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadResponseDeserializer(item: any): PendingUploadResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n pendingUploadId: item[\"pendingUploadId\"],\n version: item[\"version\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Blob reference details. */\nexport interface BlobReference {\n /** Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path */\n blobUri: string;\n /** ARM ID of the storage account to use. */\n storageAccountArmId: string;\n /** Credential info to access the storage account. */\n credential: SasCredential;\n}\n\nexport function blobReferenceDeserializer(item: any): BlobReference {\n return {\n blobUri: item[\"blobUri\"],\n storageAccountArmId: item[\"storageAccountArmId\"],\n credential: sasCredentialDeserializer(item[\"credential\"]),\n };\n}\n\n/** SAS Credential definition */\nexport interface SasCredential {\n /** SAS uri */\n readonly sasUri: string;\n /** Type of credential */\n readonly type: \"SAS\";\n}\n\nexport function sasCredentialDeserializer(item: any): SasCredential {\n return {\n sasUri: item[\"sasUri\"],\n type: item[\"type\"],\n };\n}\n\n/** model interface _GetCredentialsRequest */\nexport interface _GetCredentialsRequest {}\n\nexport function _getCredentialsRequestSerializer(item: _GetCredentialsRequest): any {\n return item;\n}\n\n/** Represents a reference to a blob for consumption */\nexport interface AssetCredentialResponse {\n /** Credential info to access the storage account. */\n blobReference: BlobReference;\n}\n\nexport function assetCredentialResponseDeserializer(item: any): AssetCredentialResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n };\n}\n\n/** Paged collection of Index items */\nexport interface _PagedIndex {\n /** The Index items on this page */\n value: IndexUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedIndexDeserializer(item: any): _PagedIndex {\n return {\n value: indexUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function indexUnionArraySerializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionSerializer(item);\n });\n}\n\nexport function indexUnionArrayDeserializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionDeserializer(item);\n });\n}\n\n/** Index resource Definition */\nexport interface Index {\n /** Type of index */\n /** The discriminator possible values: AzureSearch, ManagedAzureSearch, CosmosDBNoSqlVectorStore */\n type: IndexType;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function indexSerializer(item: Index): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function indexDeserializer(item: any): Index {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for IndexUnion */\nexport type IndexUnion = AzureAISearchIndex | ManagedAzureAISearchIndex | CosmosDBIndex | Index;\n\nexport function indexUnionSerializer(item: IndexUnion): any {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexSerializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexSerializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexSerializer(item as CosmosDBIndex);\n\n default:\n return indexSerializer(item);\n }\n}\n\nexport function indexUnionDeserializer(item: any): IndexUnion {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexDeserializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexDeserializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexDeserializer(item as CosmosDBIndex);\n\n default:\n return indexDeserializer(item);\n }\n}\n\n/** Type of IndexType */\nexport type IndexType = \"AzureSearch\" | \"CosmosDBNoSqlVectorStore\" | \"ManagedAzureSearch\";\n\n/** Azure AI Search Index Definition */\nexport interface AzureAISearchIndex extends Index {\n /** Type of index */\n type: \"AzureSearch\";\n /** Name of connection to Azure AI Search */\n connectionName: string;\n /** Name of index in Azure AI Search resource to attach */\n indexName: string;\n}\n\nexport function azureAISearchIndexSerializer(item: AzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n };\n}\n\nexport function azureAISearchIndexDeserializer(item: any): AzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n };\n}\n\n/** Managed Azure AI Search Index Definition */\nexport interface ManagedAzureAISearchIndex extends Index {\n /** Type of index */\n type: \"ManagedAzureSearch\";\n /** Vector store id of managed index */\n vectorStoreId: string;\n}\n\nexport function managedAzureAISearchIndexSerializer(item: ManagedAzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\nexport function managedAzureAISearchIndexDeserializer(item: any): ManagedAzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\n/** CosmosDB Vector Store Index Definition */\nexport interface CosmosDBIndex extends Index {\n /** Type of index */\n type: \"CosmosDBNoSqlVectorStore\";\n /** Name of connection to CosmosDB */\n connectionName: string;\n /** Name of the CosmosDB Database */\n databaseName: string;\n /** Name of CosmosDB Container */\n containerName: string;\n /** Embedding model configuration */\n embeddingConfiguration: EmbeddingConfiguration;\n}\n\nexport function cosmosDBIndexSerializer(item: CosmosDBIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationSerializer(item[\"embeddingConfiguration\"]),\n };\n}\n\nexport function cosmosDBIndexDeserializer(item: any): CosmosDBIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationDeserializer(item[\"embeddingConfiguration\"]),\n };\n}\n\n/** Embedding configuration class */\nexport interface EmbeddingConfiguration {\n /** Deployment name of embedding model. It can point to a model deployment either in the parent AIServices or a connection. */\n modelDeploymentName: string;\n /** Embedding field */\n embeddingField: string;\n}\n\nexport function embeddingConfigurationSerializer(item: EmbeddingConfiguration): any {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\nexport function embeddingConfigurationDeserializer(item: any): EmbeddingConfiguration {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\n/** Model Deployment Definition */\nexport interface Deployment {\n /** The type of the deployment */\n /** The discriminator possible values: ModelDeployment */\n type: DeploymentType;\n /** Name of the deployment */\n readonly name: string;\n}\n\nexport function deploymentDeserializer(item: any): Deployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n };\n}\n\n/** Alias for DeploymentUnion */\nexport type DeploymentUnion = ModelDeployment | Deployment;\n\nexport function deploymentUnionDeserializer(item: any): DeploymentUnion {\n switch (item.type) {\n case \"ModelDeployment\":\n return modelDeploymentDeserializer(item as ModelDeployment);\n\n default:\n return deploymentDeserializer(item);\n }\n}\n\n/** Type of DeploymentType */\nexport type DeploymentType = \"ModelDeployment\";\n\n/** Model Deployment Definition */\nexport interface ModelDeployment extends Deployment {\n /** The type of the deployment */\n type: \"ModelDeployment\";\n /** Publisher-specific name of the deployed model */\n readonly modelName: string;\n /** Publisher-specific version of the deployed model */\n readonly modelVersion: string;\n /** Name of the deployed model's publisher */\n readonly modelPublisher: string;\n /** Capabilities of deployed model */\n readonly capabilities: Record<string, string>;\n /** Sku of the model deployment */\n readonly sku: Sku;\n /** Name of the connection the deployment comes from */\n readonly connectionName?: string;\n}\n\nexport function modelDeploymentDeserializer(item: any): ModelDeployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n modelName: item[\"modelName\"],\n modelVersion: item[\"modelVersion\"],\n modelPublisher: item[\"modelPublisher\"],\n capabilities: item[\"capabilities\"],\n sku: skuDeserializer(item[\"sku\"]),\n connectionName: item[\"connectionName\"],\n };\n}\n\n/** Sku information */\nexport interface Sku {\n /** Sku capacity */\n capacity: number;\n /** Sku family */\n family: string;\n /** Sku name */\n name: string;\n /** Sku size */\n size: string;\n /** Sku tier */\n tier: string;\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n capacity: item[\"capacity\"],\n family: item[\"family\"],\n name: item[\"name\"],\n size: item[\"size\"],\n tier: item[\"tier\"],\n };\n}\n\n/** Paged collection of Deployment items */\nexport interface _PagedDeployment {\n /** The Deployment items on this page */\n value: DeploymentUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDeploymentDeserializer(item: any): _PagedDeployment {\n return {\n value: deploymentUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deploymentUnionArrayDeserializer(result: Array<DeploymentUnion>): any[] {\n return result.map((item) => {\n return deploymentUnionDeserializer(item);\n });\n}\n\n/** Red team details. */\nexport interface RedTeam {\n /** Identifier of the red team. */\n readonly id: string;\n /** Name of the red-team scan. */\n scanName?: string;\n /** Number of simulation rounds. */\n numTurns: number;\n /** List of attack strategies or nested lists of attack strategies. */\n attackStrategies: AttackStrategy[];\n /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */\n simulationOnly: boolean;\n /** List of risk categories to generate attack objectives for. */\n riskCategories: RiskCategory[];\n /** Application scenario for the red team operation, to generate scenario specific attacks. */\n applicationScenario?: string;\n /** Red team's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Status of the red-team. It is set by service and is read-only. */\n readonly status?: string;\n /** Target configuration for the red-team run. */\n targetConfig: TargetConfigUnion;\n}\n\nexport function redTeamSerializer(item: RedTeam): any {\n return {\n scanName: item[\"scanName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n targetConfig: targetConfigUnionSerializer(item[\"targetConfig\"]),\n };\n}\n\nexport function redTeamDeserializer(item: any): RedTeam {\n return {\n id: item[\"id\"],\n scanName: item[\"scanName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n status: item[\"status\"],\n targetConfig: targetConfigUnionDeserializer(item[\"targetConfig\"]),\n };\n}\n\n/** Strategies for attacks. */\nexport type AttackStrategy =\n | \"easy\"\n | \"moderate\"\n | \"difficult\"\n | \"ascii_art\"\n | \"ascii_smuggler\"\n | \"atbash\"\n | \"base64\"\n | \"binary\"\n | \"caesar\"\n | \"character_space\"\n | \"jailbreak\"\n | \"ansii_attack\"\n | \"character_swap\"\n | \"suffix_append\"\n | \"string_join\"\n | \"unicode_confusable\"\n | \"unicode_substitution\"\n | \"diacritic\"\n | \"flip\"\n | \"leetspeak\"\n | \"rot13\"\n | \"morse\"\n | \"url\"\n | \"baseline\";\n/** Risk category for the attack objective. */\nexport type RiskCategory = \"HateUnfairness\" | \"Violence\" | \"Sexual\" | \"SelfHarm\";\n\n/** Abstract class for target configuration. */\nexport interface TargetConfig {\n /** Type of the model configuration. */\n /** The discriminator possible values: AzureOpenAIModel */\n type: string;\n}\n\nexport function targetConfigSerializer(item: TargetConfig): any {\n return { type: item[\"type\"] };\n}\n\nexport function targetConfigDeserializer(item: any): TargetConfig {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for TargetConfigUnion */\nexport type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;\n\nexport function targetConfigUnionSerializer(item: TargetConfigUnion): any {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationSerializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigSerializer(item);\n }\n}\n\nexport function targetConfigUnionDeserializer(item: any): TargetConfigUnion {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationDeserializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigDeserializer(item);\n }\n}\n\n/** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */\nexport interface AzureOpenAIModelConfiguration extends TargetConfig {\n /** Type of the model configuration. */\n readonly type: \"AzureOpenAIModel\";\n /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (i.e. `my-aoai-connection/gpt-4o`. */\n modelDeploymentName: string;\n}\n\nexport function azureOpenAIModelConfigurationSerializer(item: AzureOpenAIModelConfiguration): any {\n return { modelDeploymentName: item[\"modelDeploymentName\"] };\n}\n\nexport function azureOpenAIModelConfigurationDeserializer(\n item: any,\n): AzureOpenAIModelConfiguration {\n return {\n type: item[\"type\"],\n modelDeploymentName: item[\"modelDeploymentName\"],\n };\n}\n\n/** Paged collection of RedTeam items */\nexport interface _PagedRedTeam {\n /** The RedTeam items on this page */\n value: RedTeam[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedRedTeamDeserializer(item: any): _PagedRedTeam {\n return {\n value: redTeamArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function redTeamArraySerializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamSerializer(item);\n });\n}\n\nexport function redTeamArrayDeserializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamDeserializer(item);\n });\n}\n\n/** The type of pending upload. */\nexport type PendingUploadType = \"None\" | \"BlobReference\";\n\n/** Azure AI Projects API versions */\nexport enum KnownVersions {\n /** Azure AI API version 2025-05-01. */\n V20250501 = \"2025-05-01\",\n /** Azure AI API version 2025-05-15-preview. */\n V20250515Preview = \"2025-05-15-preview\",\n}\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uC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AE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAAC;AACJ,CAAC;AAED,SAAgB,sBAAsB,CAAC,MAAsB;IAC3D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,wBAAwB,CAAC,MAAsB;IAC7D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC;AAKD,qCAAqC;AACrC,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,uCAAuC;IACvC,yCAAwB,CAAA;IACxB,+CAA+C;IAC/C,wDAAuC,CAAA;AACzC,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/** Response from the list and get connections operations */\nexport interface Connection {\n /** The friendly name of the connection, provided by the user. */\n readonly name: string;\n /** A unique identifier for the connection, generated by the service */\n readonly id: string;\n /** Category of the connection */\n readonly type: ConnectionType;\n /** The connection URL to be used for this service */\n readonly target: string;\n /** Whether the connection is tagged as the default connection of its type */\n readonly isDefault: boolean;\n /** The credentials used by the connection */\n readonly credentials: BaseCredentialsUnion;\n /** Metadata of the connection */\n readonly metadata: Record<string, string>;\n}\n\n/** The Type (or category) of the connection */\nexport type ConnectionType =\n | \"AzureOpenAI\"\n | \"AzureBlob\"\n | \"AzureStorageAccount\"\n | \"CognitiveSearch\"\n | \"CosmosDB\"\n | \"ApiKey\"\n | \"AppConfig\"\n | \"AppInsights\"\n | \"CustomKeys\";\n\n/** A base class for connection credentials */\nexport interface BaseCredentials {\n /** The type of credential used by the connection */\n /** The discriminator possible values: ApiKey, AAD, CustomKeys, SAS, None */\n readonly type: CredentialType;\n}\n\nexport function connectionDeserializer(item: any): Connection {\n return {\n name: item[\"name\"],\n id: item[\"id\"],\n type: item[\"type\"],\n target: item[\"target\"],\n metadata: item[\"metadata\"],\n isDefault: item[\"isDefault\"],\n credentials: item[\"credentials\"]\n ? baseCredentialsUnionDeserializer(item[\"credentials\"])\n : { type: \"None\" },\n };\n}\n\nexport function baseCredentialsDeserializer(item: any): BaseCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for BaseCredentialsUnion */\nexport type BaseCredentialsUnion =\n | ApiKeyCredentials\n | EntraIDCredentials\n | CustomCredential\n | SASCredentials\n | NoAuthenticationCredentials\n | BaseCredentials;\n\nexport function baseCredentialsUnionDeserializer(item: any): BaseCredentialsUnion {\n switch (item.type) {\n case \"ApiKey\":\n return apiKeyCredentialsDeserializer(item as ApiKeyCredentials);\n\n case \"AAD\":\n return entraIDCredentialsDeserializer(item as EntraIDCredentials);\n\n case \"CustomKeys\":\n return customCredentialDeserializer(item as CustomCredential);\n\n case \"SAS\":\n return sasCredentialsDeserializer(item as SASCredentials);\n\n case \"None\":\n return noAuthenticationCredentialsDeserializer(item as NoAuthenticationCredentials);\n\n default:\n return baseCredentialsDeserializer(item);\n }\n}\n\n/** The credential type used by the connection */\nexport type CredentialType = \"ApiKey\" | \"AAD\" | \"SAS\" | \"CustomKeys\" | \"None\";\n\n/** API Key Credential definition */\nexport interface ApiKeyCredentials extends BaseCredentials {\n /** The credentail type */\n readonly type: \"ApiKey\";\n /** API Key */\n readonly apiKey?: string;\n}\n\nexport function apiKeyCredentialsDeserializer(item: any): ApiKeyCredentials {\n return {\n type: item[\"type\"],\n apiKey: item[\"key\"],\n };\n}\n\n/** Entra ID credential definition */\nexport interface EntraIDCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"AAD\";\n}\n\nexport function entraIDCredentialsDeserializer(item: any): EntraIDCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Custom credential definition */\nexport interface CustomCredential extends BaseCredentials {\n /** The credential type */\n readonly type: \"CustomKeys\";\n /** The credential type */\n readonly keys: Record<string, string>;\n}\n\nexport function customCredentialDeserializer(item: any): CustomCredential {\n return {\n type: item[\"type\"],\n keys: item[\"keys\"],\n };\n}\n\n/** Shared Access Signature (SAS) credential definition */\nexport interface SASCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"SAS\";\n /** SAS token */\n readonly sasToken?: string;\n}\n\nexport function sasCredentialsDeserializer(item: any): SASCredentials {\n return {\n type: item[\"type\"],\n sasToken: item[\"SAS\"],\n };\n}\n\n/** Credentials that do not require authentication */\nexport interface NoAuthenticationCredentials extends BaseCredentials {\n /** The credential type */\n readonly type: \"None\";\n}\n\nexport function noAuthenticationCredentialsDeserializer(item: any): NoAuthenticationCredentials {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Paged collection of Connection items */\nexport interface _PagedConnection {\n /** The Connection items on this page */\n value: Connection[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedConnectionDeserializer(item: any): _PagedConnection {\n return {\n value: connectionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function connectionArrayDeserializer(result: Array<Connection>): any[] {\n return result.map((item) => {\n return connectionDeserializer(item);\n });\n}\n\n/** Evaluation Definition */\nexport interface Evaluation {\n /** Identifier of the evaluation. */\n readonly name: string;\n /** Data for evaluation. */\n data: InputDataUnion;\n /** Display Name for evaluation. It helps to find the evaluation easily in AI Foundry. It does not need to be unique. */\n displayName?: string;\n /** Description of the evaluation. It can be used to store additional information about the evaluation and is mutable. */\n description?: string;\n /** Status of the evaluation. It is set by service and is read-only. */\n readonly status?: string;\n /** Evaluation's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Evaluation's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n}\n\n/** optional id property for Evaluation, which shouldbe used for create operation */\nexport type EvaluationWithOptionalName = Omit<Evaluation, \"name\"> & { name?: string };\n\n// optional name property\nexport function evaluationSerializer(item: EvaluationWithOptionalName): any {\n return {\n data: inputDataUnionSerializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n };\n}\n\nexport function evaluationDeserializer(item: any): Evaluation {\n return {\n name: item[\"id\"],\n data: inputDataUnionDeserializer(item[\"data\"]),\n displayName: item[\"displayName\"],\n description: item[\"description\"],\n status: item[\"status\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n evaluators: evaluatorConfigurationRecordDeserializer(item[\"evaluators\"]),\n };\n}\n\n/** Abstract data class. */\nexport interface InputData {\n /** Type of the data */\n /** The discriminator possible values: dataset */\n type: string;\n}\n\nexport function inputDataSerializer(item: InputData): any {\n return { type: item[\"type\"] };\n}\n\nexport function inputDataDeserializer(item: any): InputData {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for InputDataUnion */\nexport type InputDataUnion = InputDataset | InputData;\n\nexport function inputDataUnionSerializer(item: InputDataUnion): any {\n switch (item.type) {\n case \"dataset\":\n return inputDatasetSerializer(item as InputDataset);\n\n default:\n return inputDataSerializer(item);\n }\n}\n\nexport function inputDataUnionDeserializer(_item: any): InputDataUnion {\n const item = _item || {};\n\n switch (item.type) {\n case \"dataset\":\n return inputDatasetDeserializer(item as InputDataset);\n\n default:\n return inputDataDeserializer(item);\n }\n}\n\n/** Dataset as source for evaluation. */\nexport interface InputDataset extends InputData {\n /** Type of the data */\n type: \"dataset\";\n /** Evaluation input data */\n id: string;\n}\n\nexport function inputDatasetSerializer(item: InputDataset): any {\n return { type: item[\"type\"], id: item[\"id\"] };\n}\n\nexport function inputDatasetDeserializer(item: any): InputDataset {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n };\n}\n\nexport function evaluatorConfigurationRecordSerializer(\n item: Record<string, EvaluatorConfiguration>,\n): Record<string, any> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationSerializer(item[key]);\n });\n return result;\n}\n\nexport function evaluatorConfigurationRecordDeserializer(\n item: Record<string, any>,\n): Record<string, EvaluatorConfiguration> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : evaluatorConfigurationDeserializer(item[key]);\n });\n return result;\n}\n\n/** Evaluator Configuration */\nexport interface EvaluatorConfiguration {\n /** Identifier of the evaluator. */\n id: string;\n /** Initialization parameters of the evaluator. */\n initParams?: Record<string, any>;\n /** Data parameters of the evaluator. */\n dataMapping?: Record<string, string>;\n}\n\nexport function evaluatorConfigurationSerializer(item: EvaluatorConfiguration): any {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\nexport function evaluatorConfigurationDeserializer(item: any): EvaluatorConfiguration {\n return {\n id: item[\"id\"],\n initParams: item[\"initParams\"],\n dataMapping: item[\"dataMapping\"],\n };\n}\n\n/** Paged collection of Evaluation items */\nexport interface _PagedEvaluation {\n /** The Evaluation items on this page */\n value: Evaluation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedEvaluationDeserializer(item: any): _PagedEvaluation {\n return {\n value: evaluationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function evaluationArraySerializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationSerializer(item);\n });\n}\n\nexport function evaluationArrayDeserializer(result: Array<Evaluation>): any[] {\n return result.map((item) => {\n return evaluationDeserializer(item);\n });\n}\n\n/** Evaluation request for agent run. */\nexport interface AgentEvaluationRequest {\n /** Identifier of the agent run. */\n runId: string;\n /** Identifier of the agent thread. This field is mandatory currently, but it will be optional in the future. */\n threadId?: string;\n /** Evaluators to be used for the evaluation. */\n evaluators: Record<string, EvaluatorConfiguration>;\n /** Sampling configuration for the evaluation. */\n samplingConfiguration?: AgentEvaluationSamplingConfiguration;\n /** Redaction configuration for the evaluation. */\n redactionConfiguration?: AgentEvaluationRedactionConfiguration;\n /** Pass the AppInsights connection string to the agent evaluation for the evaluation results and the errors logs. */\n appInsightsConnectionString: string;\n}\n\nexport function agentEvaluationRequestSerializer(item: AgentEvaluationRequest): any {\n return {\n runId: item[\"runId\"],\n threadId: item[\"threadId\"],\n evaluators: evaluatorConfigurationRecordSerializer(item[\"evaluators\"]),\n samplingConfiguration: !item[\"samplingConfiguration\"]\n ? item[\"samplingConfiguration\"]\n : agentEvaluationSamplingConfigurationSerializer(item[\"samplingConfiguration\"]),\n redactionConfiguration: !item[\"redactionConfiguration\"]\n ? item[\"redactionConfiguration\"]\n : agentEvaluationRedactionConfigurationSerializer(item[\"redactionConfiguration\"]),\n appInsightsConnectionString: item[\"appInsightsConnectionString\"],\n };\n}\n\n/** Definition for sampling strategy. */\nexport interface AgentEvaluationSamplingConfiguration {\n /** Name of the sampling strategy. */\n name: string;\n /** Percentage of sampling per hour (0-100). */\n samplingPercent: number;\n /** Maximum request rate per hour (0 to 1000). */\n maxRequestRate: number;\n}\n\nexport function agentEvaluationSamplingConfigurationSerializer(\n item: AgentEvaluationSamplingConfiguration,\n): any {\n return {\n name: item[\"name\"],\n samplingPercent: item[\"samplingPercent\"],\n maxRequestRate: item[\"maxRequestRate\"],\n };\n}\n\n/** The redaction configuration will allow the user to control what is redacted. */\nexport interface AgentEvaluationRedactionConfiguration {\n /** Redact score properties. If not specified, the default is to redact in production. */\n redactScoreProperties?: boolean;\n}\n\nexport function agentEvaluationRedactionConfigurationSerializer(\n item: AgentEvaluationRedactionConfiguration,\n): any {\n return { redactScoreProperties: item[\"redactScoreProperties\"] };\n}\n\n/** Evaluation response for agent evaluation run. */\nexport interface AgentEvaluation {\n /** Identifier of the agent evaluation run. */\n id: string;\n /** Status of the agent evaluation. Options: Running, Completed, Failed. */\n status: string;\n /** The reason of the request failure for the long running process, if applicable. */\n error?: string;\n /** The agent evaluation result. */\n result?: AgentEvaluationResult[];\n}\n\nexport function agentEvaluationDeserializer(item: any): AgentEvaluation {\n return {\n id: item[\"id\"],\n status: item[\"status\"],\n error: item[\"error\"],\n result: !item[\"result\"]\n ? item[\"result\"]\n : agentEvaluationResultArrayDeserializer(item[\"result\"]),\n };\n}\n\nexport function agentEvaluationResultArrayDeserializer(\n result: Array<AgentEvaluationResult>,\n): any[] {\n return result.map((item) => {\n return agentEvaluationResultDeserializer(item);\n });\n}\n\n/** Result for the agent evaluation evaluator run. */\nexport interface AgentEvaluationResult {\n /** Evaluator's name. This is the name of the evaluator that was used to evaluate the agent's completion. */\n evaluator: string;\n /** Identifier of the evaluator. */\n evaluatorId: string;\n /** Score of the given evaluator. No restriction on range. */\n score: number;\n /** Status of the evaluator result. Options: Running, Completed, Failed, NotApplicable. */\n status: string;\n /** Reasoning for the evaluation result. */\n reason?: string;\n /** Version of the evaluator that was used to evaluate the agent's completion. */\n version?: string;\n /** The unique identifier of the thread. */\n threadId?: string;\n /** The unique identifier of the run. */\n runId: string;\n /** A string explaining why there was an error, if applicable. */\n error?: string;\n /** Additional properties relevant to the evaluator. These will differ between evaluators. */\n additionalDetails?: Record<string, string>;\n}\n\nexport function agentEvaluationResultDeserializer(item: any): AgentEvaluationResult {\n return {\n evaluator: item[\"evaluator\"],\n evaluatorId: item[\"evaluatorId\"],\n score: item[\"score\"],\n status: item[\"status\"],\n reason: item[\"reason\"],\n version: item[\"version\"],\n threadId: item[\"threadId\"],\n runId: item[\"runId\"],\n error: item[\"error\"],\n additionalDetails: item[\"additionalDetails\"],\n };\n}\n\n/** Paged collection of DatasetVersion items */\nexport interface _PagedDatasetVersion {\n /** The DatasetVersion items on this page */\n value: DatasetVersionUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDatasetVersionDeserializer(item: any): _PagedDatasetVersion {\n return {\n value: datasetVersionUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function datasetVersionUnionArraySerializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionSerializer(item);\n });\n}\n\nexport function datasetVersionUnionArrayDeserializer(result: Array<DatasetVersionUnion>): any[] {\n return result.map((item) => {\n return datasetVersionUnionDeserializer(item);\n });\n}\n\n/** DatasetVersion Definition */\nexport interface DatasetVersion {\n /** URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330 */\n dataUri: string;\n /** Dataset type */\n /** The discriminator possible values: uri_file, uri_folder */\n type: DatasetType;\n /** Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted */\n readonly isReference?: boolean;\n /** The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset */\n connectionName?: string;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function datasetVersionSerializer(item: DatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n connectionName: item[\"connectionName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function datasetVersionDeserializer(item: any): DatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n connectionName: item[\"connectionName\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for DatasetVersionUnion */\nexport type DatasetVersionUnion = FileDatasetVersion | FolderDatasetVersion | DatasetVersion;\n\nexport function datasetVersionUnionSerializer(item: DatasetVersionUnion): any {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionSerializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionSerializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionSerializer(item);\n }\n}\n\nexport function datasetVersionUnionDeserializer(item: any): DatasetVersionUnion {\n switch (item.type) {\n case \"uri_file\":\n return fileDatasetVersionDeserializer(item as FileDatasetVersion);\n\n case \"uri_folder\":\n return folderDatasetVersionDeserializer(item as FolderDatasetVersion);\n\n default:\n return datasetVersionDeserializer(item);\n }\n}\n\n/** Enum to determine the type of data. */\nexport type DatasetType = \"uri_file\" | \"uri_folder\";\n\n/** FileDatasetVersion Definition */\nexport interface FileDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_file\";\n}\n\nexport function fileDatasetVersionSerializer(item: FileDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n connectionName: item[\"connectionName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function fileDatasetVersionDeserializer(item: any): FileDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n connectionName: item[\"connectionName\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** FileDatasetVersion Definition */\nexport interface FolderDatasetVersion extends DatasetVersion {\n /** Dataset type */\n type: \"uri_folder\";\n}\n\nexport function folderDatasetVersionSerializer(item: FolderDatasetVersion): any {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n connectionName: item[\"connectionName\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function folderDatasetVersionDeserializer(item: any): FolderDatasetVersion {\n return {\n dataUri: item[\"dataUri\"],\n type: item[\"type\"],\n isReference: item[\"isReference\"],\n connectionName: item[\"connectionName\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Represents a request for a pending upload. */\nexport interface PendingUploadRequest {\n /** If PendingUploadId is not provided, a random GUID will be used. */\n pendingUploadId?: string;\n /** Azure Storage Account connection name to use for generating temporary SAS token */\n connectionName?: string;\n /** BlobReference is the only supported type. */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadRequestSerializer(item: PendingUploadRequest): any {\n return {\n pendingUploadId: item[\"pendingUploadId\"],\n connectionName: item[\"connectionName\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Represents the response for a pending upload request */\nexport interface PendingUploadResponse {\n /** Container-level read, write, list SAS. */\n blobReference: BlobReference;\n /** ID for this upload request. */\n pendingUploadId: string;\n /** Version of asset to be created if user did not specify version when initially creating upload */\n version?: string;\n /** BlobReference is the only supported type */\n pendingUploadType: \"BlobReference\";\n}\n\nexport function pendingUploadResponseDeserializer(item: any): PendingUploadResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n pendingUploadId: item[\"pendingUploadId\"],\n version: item[\"version\"],\n pendingUploadType: item[\"pendingUploadType\"],\n };\n}\n\n/** Blob reference details. */\nexport interface BlobReference {\n /** Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path */\n blobUri: string;\n /** ARM ID of the storage account to use. */\n storageAccountArmId: string;\n /** Credential info to access the storage account. */\n credential: SasCredential;\n}\n\nexport function blobReferenceDeserializer(item: any): BlobReference {\n return {\n blobUri: item[\"blobUri\"],\n storageAccountArmId: item[\"storageAccountArmId\"],\n credential: sasCredentialDeserializer(item[\"credential\"]),\n };\n}\n\n/** SAS Credential definition */\nexport interface SasCredential {\n /** SAS uri */\n readonly sasUri: string;\n /** Type of credential */\n readonly type: \"SAS\";\n}\n\nexport function sasCredentialDeserializer(item: any): SasCredential {\n return {\n sasUri: item[\"sasUri\"],\n type: item[\"type\"],\n };\n}\n\n/** Represents a reference to a blob for consumption */\nexport interface AssetCredentialResponse {\n /** Credential info to access the storage account. */\n blobReference: BlobReference;\n}\n\nexport function assetCredentialResponseDeserializer(item: any): AssetCredentialResponse {\n return {\n blobReference: blobReferenceDeserializer(item[\"blobReference\"]),\n };\n}\n\n/** Paged collection of Index items */\nexport interface _PagedIndex {\n /** The Index items on this page */\n value: IndexUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedIndexDeserializer(item: any): _PagedIndex {\n return {\n value: indexUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function indexUnionArraySerializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionSerializer(item);\n });\n}\n\nexport function indexUnionArrayDeserializer(result: Array<IndexUnion>): any[] {\n return result.map((item) => {\n return indexUnionDeserializer(item);\n });\n}\n\n/** Index resource Definition */\nexport interface Index {\n /** Type of index */\n /** The discriminator possible values: AzureSearch, ManagedAzureSearch, CosmosDBNoSqlVectorStore */\n type: IndexType;\n /** Asset ID, a unique identifier for the asset */\n readonly id?: string;\n /** The name of the resource */\n readonly name: string;\n /** The version of the resource */\n readonly version: string;\n /** The asset description text. */\n description?: string;\n /** Tag dictionary. Tags can be added, removed, and updated. */\n tags?: Record<string, string>;\n}\n\nexport function indexSerializer(item: Index): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function indexDeserializer(item: any): Index {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n };\n}\n\n/** Alias for IndexUnion */\nexport type IndexUnion = AzureAISearchIndex | ManagedAzureAISearchIndex | CosmosDBIndex | Index;\n\nexport function indexUnionSerializer(item: IndexUnion): any {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexSerializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexSerializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexSerializer(item as CosmosDBIndex);\n\n default:\n return indexSerializer(item);\n }\n}\n\nexport function indexUnionDeserializer(item: any): IndexUnion {\n switch (item.type) {\n case \"AzureSearch\":\n return azureAISearchIndexDeserializer(item as AzureAISearchIndex);\n\n case \"ManagedAzureSearch\":\n return managedAzureAISearchIndexDeserializer(item as ManagedAzureAISearchIndex);\n\n case \"CosmosDBNoSqlVectorStore\":\n return cosmosDBIndexDeserializer(item as CosmosDBIndex);\n\n default:\n return indexDeserializer(item);\n }\n}\n\n/** Type of IndexType */\nexport type IndexType = \"AzureSearch\" | \"CosmosDBNoSqlVectorStore\" | \"ManagedAzureSearch\";\n\n/** Azure AI Search Index Definition */\nexport interface AzureAISearchIndex extends Index {\n /** Type of index */\n type: \"AzureSearch\";\n /** Name of connection to Azure AI Search */\n connectionName: string;\n /** Name of index in Azure AI Search resource to attach */\n indexName: string;\n /** Field mapping configuration */\n fieldMapping?: FieldMapping;\n}\n\nexport function azureAISearchIndexSerializer(item: AzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n fieldMapping: !item[\"fieldMapping\"]\n ? item[\"fieldMapping\"]\n : fieldMappingSerializer(item[\"fieldMapping\"]),\n };\n}\n\nexport function azureAISearchIndexDeserializer(item: any): AzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n indexName: item[\"indexName\"],\n fieldMapping: !item[\"fieldMapping\"]\n ? item[\"fieldMapping\"]\n : fieldMappingDeserializer(item[\"fieldMapping\"]),\n };\n}\n\n/** Field mapping configuration class */\nexport interface FieldMapping {\n /** List of fields with text content */\n contentFields: string[];\n /** Path of file to be used as a source of text content */\n filepathField?: string;\n /** Field containing the title of the document */\n titleField?: string;\n /** Field containing the url of the document */\n urlField?: string;\n /** List of fields with vector content */\n vectorFields?: string[];\n /** List of fields with metadata content */\n metadataFields?: string[];\n}\n\nexport function fieldMappingSerializer(item: FieldMapping): any {\n return {\n contentFields: item[\"contentFields\"].map((p: any) => {\n return p;\n }),\n filepathField: item[\"filepathField\"],\n titleField: item[\"titleField\"],\n urlField: item[\"urlField\"],\n vectorFields: !item[\"vectorFields\"]\n ? item[\"vectorFields\"]\n : item[\"vectorFields\"].map((p: any) => {\n return p;\n }),\n metadataFields: !item[\"metadataFields\"]\n ? item[\"metadataFields\"]\n : item[\"metadataFields\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function fieldMappingDeserializer(item: any): FieldMapping {\n return {\n contentFields: item[\"contentFields\"].map((p: any) => {\n return p;\n }),\n filepathField: item[\"filepathField\"],\n titleField: item[\"titleField\"],\n urlField: item[\"urlField\"],\n vectorFields: !item[\"vectorFields\"]\n ? item[\"vectorFields\"]\n : item[\"vectorFields\"].map((p: any) => {\n return p;\n }),\n metadataFields: !item[\"metadataFields\"]\n ? item[\"metadataFields\"]\n : item[\"metadataFields\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** Managed Azure AI Search Index Definition */\nexport interface ManagedAzureAISearchIndex extends Index {\n /** Type of index */\n type: \"ManagedAzureSearch\";\n /** Vector store id of managed index */\n vectorStoreId: string;\n}\n\nexport function managedAzureAISearchIndexSerializer(item: ManagedAzureAISearchIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\nexport function managedAzureAISearchIndexDeserializer(item: any): ManagedAzureAISearchIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n vectorStoreId: item[\"vectorStoreId\"],\n };\n}\n\n/** CosmosDB Vector Store Index Definition */\nexport interface CosmosDBIndex extends Index {\n /** Type of index */\n type: \"CosmosDBNoSqlVectorStore\";\n /** Name of connection to CosmosDB */\n connectionName: string;\n /** Name of the CosmosDB Database */\n databaseName: string;\n /** Name of CosmosDB Container */\n containerName: string;\n /** Embedding model configuration */\n embeddingConfiguration: EmbeddingConfiguration;\n /** Field mapping configuration */\n fieldMapping: FieldMapping;\n}\n\nexport function cosmosDBIndexSerializer(item: CosmosDBIndex): any {\n return {\n type: item[\"type\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationSerializer(item[\"embeddingConfiguration\"]),\n fieldMapping: fieldMappingSerializer(item[\"fieldMapping\"]),\n };\n}\n\nexport function cosmosDBIndexDeserializer(item: any): CosmosDBIndex {\n return {\n type: item[\"type\"],\n id: item[\"id\"],\n name: item[\"name\"],\n version: item[\"version\"],\n description: item[\"description\"],\n tags: item[\"tags\"],\n connectionName: item[\"connectionName\"],\n databaseName: item[\"databaseName\"],\n containerName: item[\"containerName\"],\n embeddingConfiguration: embeddingConfigurationDeserializer(item[\"embeddingConfiguration\"]),\n fieldMapping: fieldMappingDeserializer(item[\"fieldMapping\"]),\n };\n}\n\n/** Embedding configuration class */\nexport interface EmbeddingConfiguration {\n /** Deployment name of embedding model. It can point to a model deployment either in the parent AIServices or a connection. */\n modelDeploymentName: string;\n /** Embedding field */\n embeddingField: string;\n}\n\nexport function embeddingConfigurationSerializer(item: EmbeddingConfiguration): any {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\nexport function embeddingConfigurationDeserializer(item: any): EmbeddingConfiguration {\n return {\n modelDeploymentName: item[\"modelDeploymentName\"],\n embeddingField: item[\"embeddingField\"],\n };\n}\n\n/** Model Deployment Definition */\nexport interface Deployment {\n /** The type of the deployment */\n /** The discriminator possible values: ModelDeployment */\n type: DeploymentType;\n /** Name of the deployment */\n readonly name: string;\n}\n\nexport function deploymentDeserializer(item: any): Deployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n };\n}\n\n/** Alias for DeploymentUnion */\nexport type DeploymentUnion = ModelDeployment | Deployment;\n\nexport function deploymentUnionDeserializer(item: any): DeploymentUnion {\n switch (item.type) {\n case \"ModelDeployment\":\n return modelDeploymentDeserializer(item as ModelDeployment);\n\n default:\n return deploymentDeserializer(item);\n }\n}\n\n/** Type of DeploymentType */\nexport type DeploymentType = \"ModelDeployment\";\n\n/** Model Deployment Definition */\nexport interface ModelDeployment extends Deployment {\n /** The type of the deployment */\n type: \"ModelDeployment\";\n /** Publisher-specific name of the deployed model */\n readonly modelName: string;\n /** Publisher-specific version of the deployed model */\n readonly modelVersion: string;\n /** Name of the deployed model's publisher */\n readonly modelPublisher: string;\n /** Capabilities of deployed model */\n readonly capabilities: Record<string, string>;\n /** Sku of the model deployment */\n readonly sku: Sku;\n /** Name of the connection the deployment comes from */\n readonly connectionName?: string;\n}\n\nexport function modelDeploymentDeserializer(item: any): ModelDeployment {\n return {\n type: item[\"type\"],\n name: item[\"name\"],\n modelName: item[\"modelName\"],\n modelVersion: item[\"modelVersion\"],\n modelPublisher: item[\"modelPublisher\"],\n capabilities: item[\"capabilities\"],\n sku: skuDeserializer(item[\"sku\"]),\n connectionName: item[\"connectionName\"],\n };\n}\n\n/** Sku information */\nexport interface Sku {\n /** Sku capacity */\n capacity: number;\n /** Sku family */\n family: string;\n /** Sku name */\n name: string;\n /** Sku size */\n size: string;\n /** Sku tier */\n tier: string;\n}\n\nexport function skuDeserializer(item: any): Sku {\n return {\n capacity: item[\"capacity\"],\n family: item[\"family\"],\n name: item[\"name\"],\n size: item[\"size\"],\n tier: item[\"tier\"],\n };\n}\n\n/** Paged collection of Deployment items */\nexport interface _PagedDeployment {\n /** The Deployment items on this page */\n value: DeploymentUnion[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedDeploymentDeserializer(item: any): _PagedDeployment {\n return {\n value: deploymentUnionArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function deploymentUnionArrayDeserializer(result: Array<DeploymentUnion>): any[] {\n return result.map((item) => {\n return deploymentUnionDeserializer(item);\n });\n}\n\n/** Red team details. */\nexport interface RedTeam {\n /** Identifier of the red team run. */\n readonly name: string;\n /** Name of the red-team run. */\n displayName?: string;\n /** Number of simulation rounds. */\n numTurns?: number;\n /** List of attack strategies or nested lists of attack strategies. */\n attackStrategies?: AttackStrategy[];\n /** Simulation-only or Simulation + Evaluation. Default false, if true the scan outputs conversation not evaluation result. */\n simulationOnly?: boolean;\n /** List of risk categories to generate attack objectives for. */\n riskCategories?: RiskCategory[];\n /** Application scenario for the red team operation, to generate scenario specific attacks. */\n applicationScenario?: string;\n /** Red team's tags. Unlike properties, tags are fully mutable. */\n tags?: Record<string, string>;\n /** Red team's properties. Unlike tags, properties are add-only. Once added, a property cannot be removed. */\n properties?: Record<string, string>;\n /** Status of the red-team. It is set by service and is read-only. */\n readonly status?: string;\n /** Target configuration for the red-team run. */\n target: TargetConfigUnion;\n}\n\nexport function redTeamSerializer(item: RedTeam): any {\n return {\n displayName: item[\"displayName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: !item[\"attackStrategies\"]\n ? item[\"attackStrategies\"]\n : item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: !item[\"riskCategories\"]\n ? item[\"riskCategories\"]\n : item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n target: targetConfigUnionSerializer(item[\"target\"]),\n };\n}\n\nexport function redTeamDeserializer(item: any): RedTeam {\n return {\n name: item[\"id\"],\n displayName: item[\"displayName\"],\n numTurns: item[\"numTurns\"],\n attackStrategies: !item[\"attackStrategies\"]\n ? item[\"attackStrategies\"]\n : item[\"attackStrategies\"].map((p: any) => {\n return p;\n }),\n simulationOnly: item[\"simulationOnly\"],\n riskCategories: !item[\"riskCategories\"]\n ? item[\"riskCategories\"]\n : item[\"riskCategories\"].map((p: any) => {\n return p;\n }),\n applicationScenario: item[\"applicationScenario\"],\n tags: item[\"tags\"],\n properties: item[\"properties\"],\n status: item[\"status\"],\n target: targetConfigUnionDeserializer(item[\"target\"]),\n };\n}\n\n/** Strategies for attacks. */\nexport type AttackStrategy =\n | \"easy\"\n | \"moderate\"\n | \"difficult\"\n | \"ascii_art\"\n | \"ascii_smuggler\"\n | \"atbash\"\n | \"base64\"\n | \"binary\"\n | \"caesar\"\n | \"character_space\"\n | \"jailbreak\"\n | \"ansii_attack\"\n | \"character_swap\"\n | \"suffix_append\"\n | \"string_join\"\n | \"unicode_confusable\"\n | \"unicode_substitution\"\n | \"diacritic\"\n | \"flip\"\n | \"leetspeak\"\n | \"rot13\"\n | \"morse\"\n | \"url\"\n | \"baseline\";\n/** Risk category for the attack objective. */\nexport type RiskCategory = \"HateUnfairness\" | \"Violence\" | \"Sexual\" | \"SelfHarm\";\n\n/** Abstract class for target configuration. */\nexport interface TargetConfig {\n /** Type of the model configuration. */\n /** The discriminator possible values: AzureOpenAIModel */\n type: string;\n}\n\nexport function targetConfigSerializer(item: TargetConfig): any {\n return { type: item[\"type\"] };\n}\n\nexport function targetConfigDeserializer(item: any): TargetConfig {\n return {\n type: item[\"type\"],\n };\n}\n\n/** Alias for TargetConfigUnion */\nexport type TargetConfigUnion = AzureOpenAIModelConfiguration | TargetConfig;\n\nexport function targetConfigUnionSerializer(item: TargetConfigUnion): any {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationSerializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigSerializer(item);\n }\n}\n\nexport function targetConfigUnionDeserializer(item: any): TargetConfigUnion {\n switch (item.type) {\n case \"AzureOpenAIModel\":\n return azureOpenAIModelConfigurationDeserializer(item as AzureOpenAIModelConfiguration);\n\n default:\n return targetConfigDeserializer(item);\n }\n}\n\n/** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */\nexport interface AzureOpenAIModelConfiguration extends TargetConfig {\n /** Type of the model configuration. */\n readonly type: \"AzureOpenAIModel\";\n /** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (i.e. `my-aoai-connection/gpt-4o`. */\n modelDeploymentName: string;\n}\n\nexport function azureOpenAIModelConfigurationSerializer(item: AzureOpenAIModelConfiguration): any {\n return { modelDeploymentName: item[\"modelDeploymentName\"] };\n}\n\nexport function azureOpenAIModelConfigurationDeserializer(\n item: any,\n): AzureOpenAIModelConfiguration {\n return {\n type: item[\"type\"],\n modelDeploymentName: item[\"modelDeploymentName\"],\n };\n}\n\n/** Paged collection of RedTeam items */\nexport interface _PagedRedTeam {\n /** The RedTeam items on this page */\n value: RedTeam[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _pagedRedTeamDeserializer(item: any): _PagedRedTeam {\n return {\n value: redTeamArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function redTeamArraySerializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamSerializer(item);\n });\n}\n\nexport function redTeamArrayDeserializer(result: Array<RedTeam>): any[] {\n return result.map((item) => {\n return redTeamDeserializer(item);\n });\n}\n\n/** The type of pending upload. */\nexport type PendingUploadType = \"None\" | \"BlobReference\";\n\n/** Azure AI Projects API versions */\nexport enum KnownVersions {\n /** Azure AI API version 2025-05-01. */\n V20250501 = \"2025-05-01\",\n /** Azure AI API version 2025-05-15-preview. */\n V20250515Preview = \"2025-05-15-preview\",\n}\n"]}
|
|
@@ -31,7 +31,8 @@ export { AIProjectClientOptionalParams } from "./api/aiProjectContext.js";
|
|
|
31
31
|
* @property {EnableTelemetryType} enableTelemetry - The operation groups for enabling telemetry
|
|
32
32
|
*/
|
|
33
33
|
export declare class AIProjectClient {
|
|
34
|
-
private
|
|
34
|
+
private _cognitiveScopeClient;
|
|
35
|
+
private _azureScopeClient;
|
|
35
36
|
private _endpoint;
|
|
36
37
|
private _credential;
|
|
37
38
|
private _agents;
|
|
@@ -61,11 +62,6 @@ export declare class AIProjectClient {
|
|
|
61
62
|
* @returns the endpoint of the client
|
|
62
63
|
*/
|
|
63
64
|
getEndpointUrl(): string;
|
|
64
|
-
/**
|
|
65
|
-
* gets the credential of the client
|
|
66
|
-
* @returns the credential of the client
|
|
67
|
-
*/
|
|
68
|
-
getCredential(): TokenCredential;
|
|
69
65
|
/**
|
|
70
66
|
* Creates a new instance of AzureAIProjectClient
|
|
71
67
|
* @param endpoint - The endpoint to use
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiProjectClient.d.ts","sourceRoot":"","sources":["../../src/aiProjectClient.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAqC,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAClG,OAAO,EAAE,kBAAkB,EAA0B,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAA6B,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAyB,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAA0B,MAAM,6BAA6B,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAA6B,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAAE,qBAAqB,EAA6B,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAA2B,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EACL,mBAAmB,EAGnB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAE1E;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,O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