dataflow.importers.embeddings_importer¶

Embedding Models Importer for the Haive Registry System.

This module provides functionality for importing embedding models from various providers and registering them in the system.

Functions¶

import_embedding_models()

Import embedding models from various providers into the registry.

Module Contents¶

dataflow.importers.embeddings_importer.import_embedding_models()¶

Import embedding models from various providers into the registry.

This function registers embedding providers and their corresponding models into the Haive registry system. It handles both in-memory and Supabase database storage based on availability.

Returns:

True if import was successful, False otherwise.

Return type:

bool

Example

>>> success = import_embedding_models()
>>> if success:
...     print("Embedding models imported successfully")