Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification Decision Needed: Model Payload Format #2

Open
caradoxical opened this issue Dec 6, 2023 · 1 comment
Open

Specification Decision Needed: Model Payload Format #2

caradoxical opened this issue Dec 6, 2023 · 1 comment
Labels
question Further information is requested

Comments

@caradoxical
Copy link
Collaborator

Does our current model payload format capture all necessary information? Should any redundant information be removed?

{
   "identifier":"inference-2HYZh8a4jtFi3xFc4e3TWRmclff",
   "model":{
      "identifier":"brzrip6cxk",
      "version":"0.0.1",
      "name":"Machine Failure Prediction"
   },
   "tags":{
      "sourceTopic":"site:area:line:cell/node/device/raw/sensor_name",
      "sourceMessageID":"abcd1234",
      "inputSizeInBytes":32,
      "inputSha256Digest":"be01ef104fb88fd151132733e746fe29b997348bf34be875e25ba48c0d7436ca"
   },
   "resultType":"classPredictions",
   "result":{
      "classPredictions":[
         {
            "className":"no_failure",
            "score":0.974
         },
         {
            "className":"failure",
            "score":0.026
         }
      ]
   },
   "explaination":{
      
   }
}
@caradoxical
Copy link
Collaborator Author

@kmanditereza will continue to review the design of this payload format before the design is settled

@caradoxical caradoxical added the question Further information is requested label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant