Skip to content

This documentation site is deprecated. Please visit our new documentation site at lancedb.com/docs for the latest information.

@lancedb/lancedb β€’ Docs


@lancedb/lancedb / embedding / getRegistry

Function: getRegistry()

function getRegistry(): EmbeddingFunctionRegistry

Utility function to get the global instance of the registry

Returns

EmbeddingFunctionRegistry

EmbeddingFunctionRegistry The global instance of the registry

Example

```ts const registry = getRegistry(); const openai = registry.get("openai").create();