edgegate_import_huggingface_model
Import a public Hugging Face model's pre-built ONNX file into EdgeGate, registering it as an Artifact. Returns an artifact_id for edgegate_create_pipeline, with optional polling for completion.
Instructions
Import a public Hugging Face model that contains a pre-built ONNX file. EdgeGate downloads the file and registers it as an Artifact. Returns the artifact_id you can pass directly to edgegate_create_pipeline. Polls until the import completes by default (poll_for_completion=true); set to false to return immediately with the job id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| revision | No | main | |
| hf_repo_id | Yes | ||
| workspace_id | Yes | ||
| max_poll_seconds | No | ||
| poll_for_completion | No |