diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json index 88a3a5f1320b..583d0dab12f4 100644 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json +++ b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/Personalizer.json @@ -7,323 +7,6 @@ }, "basePath": "/personalizer/v1.0", "paths": { - "/configurations/service": { - "get": { - "tags": [ - "Configurations" - ], - "summary": "Get the service configuration.", - "operationId": "ServiceConfiguration_Get", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ServiceConfiguration" - } - } - }, - "x-ms-examples": { - "Successful ServiceConfiguration_Get request": { - "$ref": "./examples/ServiceConfiguration_Get.json" - } - } - }, - "patch": { - "tags": [ - "Configurations" - ], - "summary": "Update the service configuration.", - "operationId": "ServiceConfiguration_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "name": "config", - "in": "body", - "description": "The personalizer service configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/ServiceConfiguration" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ServiceConfiguration" - } - }, - "default": { - "description": "*** Error Responses: ***\\n\\n * 400 Invalid arguments.\\n\\n * 404 ResourceNotFound." - } - }, - "x-ms-examples": { - "Successful ServiceConfiguration_Update request": { - "$ref": "./examples/ServiceConfiguration_Update.json" - } - } - } - }, - "/configurations/policy": { - "get": { - "tags": [ - "Configurations" - ], - "summary": "Get the policy configuration.", - "operationId": "Policy_Get", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PolicyContract" - } - } - }, - "x-ms-examples": { - "Successful Policy_Get request": { - "$ref": "./examples/Policy_Get.json" - } - } - }, - "delete": { - "tags": [ - "Configurations" - ], - "summary": "Delete the current policy.", - "operationId": "Policy_Delete", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PolicyContract" - } - } - }, - "x-ms-examples": { - "Successful Policy_Delete request": { - "$ref": "./examples/Policy_Delete.json" - } - } - }, - "patch": { - "tags": [ - "Configurations" - ], - "summary": "Update the policy configuration.", - "operationId": "Policy_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "name": "policy", - "in": "body", - "description": "The policy configuration.", - "required": true, - "schema": { - "$ref": "#/definitions/PolicyContract" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PolicyContract" - } - }, - "default": { - "description": "*** Error Responses: ***\\n\\n * 400 Invalid arguments.\\n\\n * 404 ResourceNotFound." - } - }, - "x-ms-examples": { - "Successful Policy_Update request": { - "$ref": "./examples/Policy_Update.json" - } - } - } - }, - "/evaluations": { - "get": { - "tags": [ - "Evaluations" - ], - "summary": "List all submitted evaluations.", - "operationId": "Evaluations_List", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/Evaluation" - } - } - } - }, - "x-ms-examples": { - "Successful Evaluations_List request": { - "$ref": "./examples/Evaluations_List.json" - } - } - }, - "post": { - "tags": [ - "Evaluations" - ], - "summary": "Submit a new evaluation.", - "operationId": "Evaluations_Create", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "name": "evaluation", - "in": "body", - "description": "The evaluation job definition.", - "required": true, - "schema": { - "$ref": "#/definitions/EvaluationContract" - } - } - ], - "responses": { - "201": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Evaluation" - } - }, - "default": { - "description": "*** Error Responses: ***\\n\\n * 400 Invalid arguments.\\n\\n * 404 ResourceNotFound." - } - }, - "x-ms-examples": { - "Successful Evaluations_Create request": { - "$ref": "./examples/Evaluations_Create.json" - } - } - } - }, - "/evaluations/{evaluationId}": { - "get": { - "tags": [ - "Evaluations" - ], - "summary": "Get the evaluation associated with the ID.", - "operationId": "Evaluations_Get", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "name": "evaluationId", - "in": "path", - "description": "ID of the evaluation in question.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/Evaluation" - } - }, - "default": { - "description": "*** Error Responses: ***\\n\\n * 400 Invalid arguments.\\n\\n * 404 ResourceNotFound." - } - }, - "x-ms-examples": { - "Successful Evaluations_Get request": { - "$ref": "./examples/Evaluations_Get.json" - } - } - }, - "delete": { - "tags": [ - "Evaluations" - ], - "summary": "Delete the evaluation associated with the ID.", - "operationId": "Evaluations_Delete", - "consumes": [ - - ], - "produces": [ - - ], - "parameters": [ - { - "name": "evaluationId", - "in": "path", - "description": "ID of the evaluation to delete.", - "required": true, - "type": "string" - } - ], - "responses": { - "204": { - "description": "Success" - } - }, - "x-ms-examples": { - "Successful Evaluations_Delete request": { - "$ref": "./examples/Evaluations_Delete.json" - } - } - } - }, "/events/{eventId}/reward": { "post": { "tags": [ @@ -407,159 +90,6 @@ } } }, - "/logs": { - "delete": { - "tags": [ - "Logs" - ], - "summary": "Deletes all the logs.", - "operationId": "Log_Delete", - "consumes": [ - - ], - "produces": [ - - ], - "parameters": [ - - ], - "responses": { - "204": { - "description": "Success" - } - }, - "x-ms-examples": { - "Successful Log_Delete request": { - "$ref": "./examples/Log_Delete.json" - } - } - } - }, - "/logs/properties": { - "get": { - "tags": [ - "Logs" - ], - "summary": "Gets logs properties.", - "operationId": "Log_GetProperties", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/LogsProperties" - } - }, - "default": { - "description": "*** Error Responses: ***\\n\\n * 400 Invalid arguments.\\n\\n * 404 ResourceNotFound." - } - }, - "x-ms-examples": { - "Successful Log_GetProperties request": { - "$ref": "./examples/Log_GetProperties.json" - } - } - } - }, - "/model": { - "get": { - "tags": [ - "Model" - ], - "summary": "Get current model.", - "operationId": "Model_Get", - "consumes": [ - - ], - "produces": [ - "application/octet-stream" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "type": "file" - } - } - }, - "x-ms-examples": { - "Successful Model_Get request": { - "$ref": "./examples/Model_Get.json" - } - } - }, - "delete": { - "tags": [ - "Model" - ], - "summary": "Resets the model.", - "operationId": "Model_Delete", - "consumes": [ - - ], - "produces": [ - - ], - "parameters": [ - - ], - "responses": { - "204": { - "description": "Success" - }, - "default": { - "description": "*** Error Responses: ***\\n\\n * 400 Invalid arguments.\\n\\n * 404 ResourceNotFound." - } - }, - "x-ms-examples": { - "Successful Model_Delete request": { - "$ref": "./examples/Model_Delete.json" - } - } - } - }, - "/model/properties": { - "get": { - "tags": [ - "Model" - ], - "summary": "Get model properties.", - "operationId": "Model_GetProperties", - "consumes": [ - - ], - "produces": [ - "application/json" - ], - "parameters": [ - - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelProperties" - } - } - }, - "x-ms-examples": { - "Successful Model_GetProperties request": { - "$ref": "./examples/Model_GetProperties.json" - } - } - } - }, "/rank": { "post": { "tags": [ @@ -604,221 +134,6 @@ } }, "definitions": { - "ServiceConfiguration": { - "description": "The configuration of the service.", - "required": [ - "rewardWaitTime", - "defaultReward", - "rewardAggregation", - "explorationPercentage", - "modelExportFrequency", - "logRetentionDays" - ], - "type": "object", - "properties": { - "rewardWaitTime": { - "description": "The time span waited until a request is marked with the default reward.", - "type": "string" - }, - "defaultReward": { - "format": "float", - "description": "The reward given if a reward is not received within the specified wait time.", - "maximum": 1, - "minimum": -1, - "type": "number" - }, - "rewardAggregation": { - "description": "The function used to process rewards.", - "type": "string" - }, - "explorationPercentage": { - "format": "float", - "description": "The percentage of rank responses that will use exploration.", - "type": "number" - }, - "modelExportFrequency": { - "description": "The time delay between exporting trained models.", - "type": "string" - }, - "logRetentionDays": { - "format": "int32", - "description": "Number of days historical logs are to be maintained.", - "type": "integer" - } - } - }, - "PolicyContract": { - "description": "Policy specifying how to train the model.", - "required": [ - "name", - "arguments" - ], - "type": "object", - "properties": { - "name": { - "description": "Name of the Policy.", - "type": "string" - }, - "arguments": { - "description": "Arguments of the Policy.", - "type": "string" - } - } - }, - "EvaluationContract": { - "description": "A counterfactual evaluation.", - "required": [ - "name", - "startTime", - "endTime", - "policies" - ], - "type": "object", - "properties": { - "enableOfflineExperimentation": { - "description": "True if the evaluation should explore for a more optimal policy.", - "type": "boolean" - }, - "name": { - "description": "The name of the evaluation.", - "type": "string" - }, - "startTime": { - "format": "date-time", - "description": "The start time of the evaluation.", - "type": "string" - }, - "endTime": { - "format": "date-time", - "type": "string" - }, - "policies": { - "description": "Additional policies to evaluate.", - "type": "array", - "items": { - "$ref": "#/definitions/PolicyContract" - } - } - } - }, - "Evaluation": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "type": "string", - "readOnly": true - }, - "jobId": { - "type": "string", - "readOnly": true - }, - "status": { - "enum": [ - "completed", - "pending", - "failed", - "notSubmitted" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "EvaluationJobStatus", - "modelAsString": true - } - }, - "policyResults": { - "type": "array", - "items": { - "$ref": "#/definitions/PolicyResult" - } - } - } - }, - "PolicyResult": { - "type": "object", - "properties": { - "name": { - "type": "string", - "readOnly": true - }, - "arguments": { - "type": "string", - "readOnly": true - }, - "summary": { - "type": "array", - "items": { - "$ref": "#/definitions/PolicyResultSummary" - }, - "readOnly": true - }, - "totalSummary": { - "allOf": [ - { - "$ref": "#/definitions/PolicyResultSummary" - } - ], - "readOnly": true - } - } - }, - "PolicyResultSummary": { - "type": "object", - "properties": { - "timeStamp": { - "format": "date-time", - "type": "string", - "readOnly": true - }, - "ipsEstimatorNumerator": { - "format": "float", - "type": "number", - "readOnly": true - }, - "ipsEstimatorDenominator": { - "format": "float", - "type": "number", - "readOnly": true - }, - "snipsEstimatorDenominator": { - "format": "float", - "type": "number", - "readOnly": true - }, - "aggregateTimeWindow": { - "type": "string", - "readOnly": true - }, - "nonZeroProbability": { - "format": "float", - "type": "number" - }, - "confidenceInterval": { - "format": "float", - "type": "number", - "readOnly": true - }, - "sumOfSquares": { - "format": "float", - "type": "number", - "readOnly": true - } - } - }, "RewardRequest": { "description": "Reward given to a rank response.", "type": "object", @@ -830,49 +145,6 @@ } } }, - "LogsProperties": { - "type": "object", - "properties": { - "dateRange": { - "allOf": [ - { - "$ref": "#/definitions/DateRange" - } - ], - "readOnly": true - } - } - }, - "DateRange": { - "type": "object", - "properties": { - "from": { - "format": "date-time", - "type": "string", - "readOnly": true - }, - "to": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, - "ModelProperties": { - "type": "object", - "properties": { - "creationTime": { - "format": "date-time", - "type": "string", - "readOnly": true - }, - "lastModifiedTime": { - "format": "date-time", - "type": "string", - "readOnly": true - } - } - }, "RankRequest": { "description": "Request a set of actions to be ranked by the Personalizer service.", "required": [ @@ -973,20 +245,6 @@ "readOnly": true } } - }, - "ContainerStatus": { - "type": "object", - "properties": { - "service": { - "type": "string" - }, - "apiStatus": { - "type": "string" - }, - "apiStatusMessage": { - "type": "string" - } - } } }, "parameters": { @@ -1015,26 +273,10 @@ } ], "tags": [ - { - "name": "Evaluations", - "description": "Manages counterfactual evaluation operations." - }, - { - "name": "Model", - "description": "Manages reinforcement learning configuration operations." - }, - { - "name": "Configurations", - "description": "Manages configuration operations." - }, { "name": "Events", "description": "Manages event operations." }, - { - "name": "Logs", - "description": "Manages reinforcement learning logs." - }, { "name": "Ranking", "description": "Manages ranking operations." diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Create.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Create.json deleted file mode 100644 index cc9d74df7750..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Create.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "Endpoint": "{Endpoint}", - "evaluation": { - "enableOfflineExperimentation": true, - "name": "myFirstEvaluation", - "startTime": "2018-12-19T00:00:00Z", - "endTime": "2019-01-19T00:00:00Z", - "policies": [ - { - "name": "Custom Policy 1", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - } - ] - }, - "Ocp-Apim-Subscription-Key": "{API key}" - }, - "responses": { - "201": { - "body": { - "id": "b58c6d92-b727-48c1-9487-4be2782c9e0a", - "name": "myFirstEvaluation", - "startTime": "2018-12-19T00:00:00Z", - "endTime": "2019-01-19T00:00:00Z", - "status": "completed", - "policyResults": [ - { - "name": "Custom Policy 1", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - } - ] - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Delete.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Delete.json deleted file mode 100644 index d46ae8afecca..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Delete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "Endpoint": "{Endpoint}", - "evaluationId": "id", - "Ocp-Apim-Subscription-Key": "{API key}" - }, - "responses": { - "204": { - "body": "", - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Get.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Get.json deleted file mode 100644 index e50b89b1e871..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_Get.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "Endpoint": "{Endpoint}", - "evaluationId": "id", - "Ocp-Apim-Subscription-Key": "{API key}" - }, - "responses": { - "200": { - "body": { - "id": "b58c6d92-b727-48c1-9487-4be2782c9e0a", - "name": "myFirstEvaluation", - "startTime": "2018-12-19T00:00:00Z", - "endTime": "2019-01-19T00:00:00Z", - "status": "completed", - "policyResults": [ - { - "name": "Custom Policy 1", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5", - "summary": [ - { - "timeStamp": "2018-12-19T00:00:00Z", - "ipsEstimatorNumerator": 0.0, - "ipsEstimatorDenominator": 170.0, - "snipsEstimatorDenominator": 308.25, - "aggregateTimeWindow": "00:00:00", - "nonZeroProbability": 64.0, - "confidenceInterval": 0.0, - "sumOfSquares": 0.0 - }, - { - "timeStamp": "2018-12-19T00:05:00Z", - "ipsEstimatorNumerator": 2.2, - "ipsEstimatorDenominator": 196.0, - "snipsEstimatorDenominator": 193.761, - "aggregateTimeWindow": "00:00:00", - "nonZeroProbability": 68.0, - "confidenceInterval": 1.1009, - "sumOfSquares": 2.424 - } - ], - "totalSummary": { - "timeStamp": "2019-01-19T00:00:00Z", - "ipsEstimatorNumerator": 22.2, - "ipsEstimatorDenominator": 1906.0, - "snipsEstimatorDenominator": 1993.761, - "aggregateTimeWindow": "00:00:00", - "nonZeroProbability": 68.0, - "confidenceInterval": 1.1209, - "sumOfSquares": 2.484 - } - } - ] - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_List.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_List.json deleted file mode 100644 index b339945de9c7..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Evaluations_List.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": [ - { - "id": "b58c6d92-b727-48c1-9487-4be2782c9e0a", - "name": "myFirstEvaluation", - "startTime": "2018-11-19T00:00:00Z", - "endTime": "2018-12-19T00:00:00Z", - "status": "pending", - "policyResults": [ - { - "name": "Custom Policy 1", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - } - ] - }, - { - "id": "21d03972-9130-4be9-8c8b-8ac3ec9b9dd1", - "name": "mySecondEvaluation", - "startTime": "2018-12-19T00:00:00Z", - "endTime": "2019-01-19T00:00:00Z", - "status": "pending", - "policyResults": [ - - ] - } - ], - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Log_Delete.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Log_Delete.json deleted file mode 100644 index 62e3f0e62214..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Log_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "204": { - "body": "", - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Log_GetProperties.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Log_GetProperties.json deleted file mode 100644 index ea88ec0bdea4..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Log_GetProperties.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": { - "dateRange": { - "from": "2019-01-18T16:00:00-08:00", - "to": "2019-02-18T16:00:00-08:00" - } - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_Delete.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_Delete.json deleted file mode 100644 index 62e3f0e62214..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "204": { - "body": "", - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_Get.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_Get.json deleted file mode 100644 index 532fffa97f3a..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_Get.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": "", - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_GetProperties.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_GetProperties.json deleted file mode 100644 index a8057f27beaa..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Model_GetProperties.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": { - "creationTime": "2019-01-18T16:00:00-08:00", - "lastModifiedTime": "2019-01-18T16:00:00-08:00" - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Delete.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Delete.json deleted file mode 100644 index ea4545bf012a..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Delete.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": { - "name": "myPersonalizer", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Get.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Get.json deleted file mode 100644 index ea4545bf012a..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Get.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": { - "name": "myPersonalizer", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Update.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Update.json deleted file mode 100644 index 75f8f8e37779..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/Policy_Update.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "Endpoint": "{Endpoint}", - "policy": { - "name": "myPersonalizer", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - }, - "Ocp-Apim-Subscription-Key": "{API key}" - }, - "responses": { - "200": { - "body": { - "name": "myPersonalizer", - "arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5" - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/ServiceConfiguration_Get.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/ServiceConfiguration_Get.json deleted file mode 100644 index d0ebdc317b91..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/ServiceConfiguration_Get.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "Ocp-Apim-Subscription-Key": "{API key}", - "Endpoint": "{Endpoint}" - }, - "responses": { - "200": { - "body": { - "rewardWaitTime": "00:10:00", - "defaultReward": 0.0, - "rewardAggregation": "earliest", - "explorationPercentage": 0.2, - "modelExportFrequency": "00:05:00", - "logRetentionDays": 7 - }, - "header": { - - } - } - } -} diff --git a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/ServiceConfiguration_Update.json b/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/ServiceConfiguration_Update.json deleted file mode 100644 index 2208aeaa7269..000000000000 --- a/specification/cognitiveservices/data-plane/Personalizer/preview/v1.0/examples/ServiceConfiguration_Update.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "config": { - "rewardWaitTime": "00:10:00", - "defaultReward": 0.0, - "rewardAggregation": "earliest", - "explorationPercentage": 0.2, - "modelExportFrequency": "00:05:00", - "logRetentionDays": 7 - }, - "Endpoint": "{Endpoint}", - "Ocp-Apim-Subscription-Key": "{API key}" - }, - "responses": { - "200": { - "body": { - "rewardWaitTime": "00:10:00", - "defaultReward": 0.0, - "rewardAggregation": "earliest", - "explorationPercentage": 0.2, - "modelExportFrequency": "00:05:00", - "logRetentionDays": 7 - }, - "header": { - - } - } - } -}