> For the complete documentation index, see [llms.txt](https://docs.aibrow.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aibrow.ai/api-reference/types/embeddingcreateoptions.md).

# EmbeddingCreateOptions

An object with the following properties

| Options                                                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **model** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional string`                                                                  |
| **gpuEngine** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional` [`AICapabilityGpuEngine`](/api-reference/types/aimodelgpuengine.md) |
| **dtype** <mark style="background-color:purple;">web</mark> `optional` [`AIModelDtype`](/api-reference/types/aimodeldtype.md)                                                                         |
| **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** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional AbortSignal`                                                            |
| **monitor** <mark style="background-color:green;">extension</mark> <mark style="background-color:purple;">web</mark> `optional` [`AICreateMonitor`](/api-reference/types/aicreatemonitor.md)          |
