Skip to main content
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:
ParameterTypeDefault ValueDescription
namestr"text-embedding-ada-002"The name of the model.
dimintModel defaultFor OpenAI’s newer text-embedding-3 model, we can specify a dimensionality that is smaller than the 1536 size. This feature supports it
use_azureboolFalseSet true to use Azure OpenAPI SDK