tooluniverse.tools.embedding_sync_download moduleΒΆ
embedding_sync_download
Download an embedding database from HuggingFace Hub to local storage. Allows accessing databases β¦
- tooluniverse.tools.embedding_sync_download.embedding_sync_download(action, repository, local_name, overwrite, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ
Download an embedding database from HuggingFace Hub to local storage. Allows accessing databases β¦
- Parameters:
action (
str
) β Action to download database from HuggingFacerepository (
str
) β HuggingFace repository to download from (format: username/repo-name)local_name (
str
) β Local name for the downloaded database (optional, defaults to repo name)overwrite (
bool
) β Whether to overwrite existing local database with same namestream_callback (
Callable
, optional) β Callback for streaming output
- Return type:
Any