How-to recipes

Task-oriented recipes. Each page answers one specific question with a concise, actionable solution — a lookup, a short formula, or a two-to-three step procedure. Recipes avoid full runnable projects; for that level of detail, see Use cases.

How this section is organized

You want… Go to
A decision (which model, which quantization, what settings) A how-to recipe
A running project you can build and execute A use case
Definition and behavior of a specific API or parameter The developer reference
A compact pattern to copy into existing code A quick win

How-tos are deliberately short. If a recipe grows past ~200 lines, it is promoted to a full use case instead.

Recipes by theme

Choosing your setup

Tuning behavior

Runtime control

  • Handle cancellation — cancel an in-flight generation cleanly; session state after cancel; common pitfalls with CancellationToken.

When a recipe does not match

Start with the symptom shortcut table in troubleshooting if you are debugging a concrete failure, or the parameter reference if you need comprehensive detail on a specific knob.

For deeper questions, the Aspose Support Forum is the canonical place to ask.

What’s next