--- title: OpenAI sidebarTitle: OpenAI --- import { PyEmbeddingOpenaiBasic } from '/snippets/integrations.mdx'; LanceDB registers the OpenAI embeddings function in the registry by default, as `openai`. Below are the parameters that you can customize when creating the instances: | Parameter | Type | Default Value | Description | |---|---|---|---| | `name` | `str` | `"text-embedding-ada-002"` | The name of the model. | | `dim` | `int` | Model default | For OpenAI's newer text-embedding-3 model, we can specify a dimensionality that is smaller than the 1536 size. This feature supports it | | `use_azure` | bool | `False` | Set true to use Azure OpenAI SDK | {PyEmbeddingOpenaiBasic}