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

Request: JavaScript function for downloading non-text inference results #22

Open
caradoxical opened this issue Oct 26, 2021 · 0 comments

Comments

@caradoxical
Copy link
Member

Checklist

Please review first that the issue is fully related with this SDK by checking the relevant checkboxes ([x]).

  • [x ] I have a Modzy API Key active and have the entitlements to perform the desired action.
  • [x ] I review that have access to Modzy API host.
  • [x ] I think that is a error specific to the SDK.
  • [x ] I review the documentation and existing issues in order to not duplicate existing ones.
  • [x ] I am willing to follow-up on comments in a timely manner.

Info

  • Modzy SDK version: 1.0.7
  • Javascript version:
  • Operating System: macOS Catalina (10.15.7)

Description

When you use models that produce a file output, Modzy saves that file, and then returns the location in the results object. To download that file, you need to do an authenticated GET request using cURL. It would be nice if Modzy's JavaScript SDK had a method that automatically downloaded that file, or maybe let you send it to a specific location? Maybe something like...

modzyClient.downloadResult(nameOfFile, fileSaveLocation)

Just an idea.

Steps to reproduce

Paste the command(s) you ran and the output.

Expected results:

Actual results:

Traceback

Logs
Paste the logs that you consider useful for diagnostic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant