Azure/InferenceSchema

How to deal with multiple input args?

Opened this issue · 2 comments

Is it possible to provide multiple input args to a function?
So something similar to

@input_schema('foo', StandardPythonParameterType('foo))
@input_schema('bar', StandardPythonParameterType('bar'))
@output_schema( StandardPythonParameterType(True))
def run(foo, bar):
    ...

The examples don't mention this, and I haven't been able to get it to work by myself.

It should support stacking as you have it in your example, I believe. What's the issue you're running into when trying that?

Yeah I cannot get this to work either.
Actually it works in local service, but not on the deployed Aci service. I do not know what is the difference, same code behaves differently