Audio Speech Recognition
2 min
The below parameters are for various Audio speech recognition attack types. To know more about the different attack input parameters see Automatic Speech Recognition
{
"use_model_api": "yes"
"model_api_details": "XXXXXXXXXXXXXXXXXXXXXXXXXX"
"model_framework": "onnx"
}Model anaylsis
POST
https://api.aws.boschaishield.com/prod/api/ais/v1.5/model_analyse
import requests
modelID="<< Enter Model ID >>"
url = "https://api.aws.boschaishield.com/prod/api/ais/v1.5/model_analyse/"+modelID+""
# please select proper payload for your usecase for extraction, evasion or poisoning.
payload={
# <<Enter Payload Data>>
}
headers = {
'Accept': 'application/json',
'x-api-key': '########################################',
'Org-Id': '####################################################################################################'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)te: In the response, copy job_id. This value is required to trigger the GET APIs. See <GET> Job Metadata. The "job_id" is used to retrieve model analysis metadata and check the processing status of the request. It is also used for generating reports for the analyzed model. Copy the dashboard link from the response and open it in a new tab. This allows users to monitor the job progress and download reports.