Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lancedb.com/llms.txt

Use this file to discover all available pages before exploring further.

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 OpenAI SDK