mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-16 08:42:57 +00:00
* Sets `"useCodeBlocks": true` * Adds a post-processing script `nodejs/typedoc_post_process.js` that puts the parameter description on the same line as the parameter name, like it is in our Python docs. This makes the text hierarchy clearer in those sections and also makes the sections shorter.
541 B
541 B
@lancedb/lancedb • Docs
@lancedb/lancedb / embedding / getRegistry
Function: getRegistry()
function getRegistry(): EmbeddingFunctionRegistry
Utility function to get the global instance of the registry
Returns
EmbeddingFunctionRegistry The global instance of the registry
Example
const registry = getRegistry();
const openai = registry.get("openai").create();