Test Queries: batch prediction in the API Designer

omarh2m
Level 2
Test Queries: batch prediction in the API Designer

Hi can i enter here a multiple calls , to receive back multiple predictions? if so how please ?  , i can only run one query per a time. Thank you!

 

Capture.PNG

 

 

0 Kudos
1 Reply
Turribeach

You can code your API service to be able to handle a list of items to score rather than a single one. But sort of goes against the idea that APIs should return as soon as possible. If donโ€™t care about latency then why are you using an API as a solution? Why brings us to the real question: what exactly are you trying to achieve what is your actual requirement? It doesnโ€™t seem like โ€œbatch scoring using the โ€œAPI nodeโ€ is a valid requirement to me. 

0 Kudos