this app is useful to visualize swagger.json via restapi and docker.
-
swagger
:- there's auto-created file
swagger_spec.json
inswagger
folder every time you executeCheckMoeSchema.ps1
- DO NOT DELETE this folder
- there's auto-created file
-
testdata
:- in AutoML mlflow model case, there's not example testdata schema in swagger.json.
- if your senario matches this case, you need to put the test data (.csv) you wanna use in
testdata
folder
-
CheckMoeSchema.ps1
:- it's to download swagger.json via rest api and start up swagger ui app.
- you can run
docker
command at the same as above.
- execute
git clone
at specified folder Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
※ for any users to execute this ps script../CheckMoeSchema.ps1
- "Enter the REST endpoint:" is moe scoring REST ENDPOINT
https://<YOUR ENDPOINT>.<REAGION.inference.ml.azure.com/score
- "Enter the Deployment NAME:" is your moe deployment name
- "Enter the API key:" is your moe api key
- "Enter the REST endpoint:" is moe scoring REST ENDPOINT