AsposeModelId
Contents
[
Hide
]
AsposeModelId is the second-priority source: an identifier into Aspose’s internal model catalog hosted at releases.aspose.com. The engine downloads by ID when no ModelFilePath is set.
Quick reference
| Type | string? |
| Default | null |
| Priority | 2 (loses to ModelFilePath; wins over Hugging Face fields) |
| Category | Model source |
| Field on | ModelSourceParameters.AsposeModelId |
What it does
When set, the engine resolves the ID against the Aspose model catalog and downloads the named file into EngineParameters.ModelCachePath. Subsequent runs use the cache.
null: skip this priority; fall through to Hugging Face fields.- An ID: resolve against the Aspose catalog.
Built-in presets do not set AsposeModelId: they use Hugging Face. Use this field when Aspose ships a specific model optimized or licensed for SDK consumers.
When to change it
| Scenario | Value |
|---|---|
| Default | null |
| Load from Aspose catalog by ID | Specific ID |
Example
var preset = new Qwen25Preset();
preset.BaseModelSourceParameters.AsposeModelId = "aspose-llm-qwen-25-7b-q4km";
preset.BaseModelSourceParameters.HuggingFaceRepoId = null; // clear the default so priority-3 fall-through isn't used
Interactions
ModelFilePath: if set, overridesAsposeModelId.- Hugging Face fields: only used when both
ModelFilePathandAsposeModelIdare null.
What’s next
- Model source hub: resolution order.
- HuggingFaceRepoId: priority-3 source.