plow-technologies / inferno

A statically-typed functional scripting language
MIT License
4 stars 1 forks source link

[inferno-ml] Add `resolution` to inference params #123

Closed ngua closed 6 months ago

ngua commented 6 months ago

Adds a resolution field to the inference param type. The script evaluator will use this resolution as part of the implicit env, unless the optional res query param is set via the /inference route. Originally I was going to drop that query param, but then I thought it would be useful to allow overriding ?resolution without needing to edit the param or the script