# SummarizerCreateOptions

An object with the following properties

| Options                                                                                                                                                                                                                                                                                                                                                                                |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p><strong>model</strong> <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> <code>optional string</code><br>The id of the model to use, undefined to use the default. The extension version also accepts a direct link to a HuggingFace GGUF file. The web version also accepts the repo & name of a HuggingFace ONNX repo.</p> |
| **gpuEngine** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional` [`AICapabilityGpuEngine`](https://docs.aibrow.ai/api-reference/types/aimodelgpuengine)                                                                                                                                                               |
| **dtype** <mark style="background-color:purple;">web</mark> `optional` [`AIModelDtype`](https://docs.aibrow.ai/api-reference/types/aimodeldtype)                                                                                                                                                                                                                                       |
| **maxTokens** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional number`                                                                                                                                                                                                                                               |
| **flashAttention** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional boolean`                                                                                                                                                                                                                                         |
| **contextSize** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional number`                                                                                                                                                                                                                                             |
| **signal** `optional AbortSignal`                                                                                                                                                                                                                                                                                                                                                      |
| **monitor** `optional` [`AICreateMonitor`](https://docs.aibrow.ai/api-reference/types/aicreatemonitor)                                                                                                                                                                                                                                                                                 |
| **format** `optional` [`SummarierFormat`](https://docs.aibrow.ai/api-reference/types/summarizerformat)                                                                                                                                                                                                                                                                                 |
| **length** `optional` [`SummarizerLength`](https://docs.aibrow.ai/api-reference/types/summarizerlength)                                                                                                                                                                                                                                                                                |
| **type** `optional` [`SummarizerType`](https://docs.aibrow.ai/api-reference/types/summarizertype)                                                                                                                                                                                                                                                                                      |
| **expectedInputLanguages** `optional string[]`                                                                                                                                                                                                                                                                                                                                         |
| **expectedContextLanguages** `optional string[]`                                                                                                                                                                                                                                                                                                                                       |
| **outputLanguage** `optional string`                                                                                                                                                                                                                                                                                                                                                   |
| **sharedContext** `optional string`                                                                                                                                                                                                                                                                                                                                                    |
