tooluniverse.tools.embedding_sync_upload moduleΒΆ

embedding_sync_upload

Upload a local embedding database to HuggingFace Hub for sharing and collaboration. Creates a dat…

tooluniverse.tools.embedding_sync_upload.embedding_sync_upload(action, database_name, repository, description, private, commit_message, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Upload a local embedding database to HuggingFace Hub for sharing and collaboration. Creates a dat…

Parameters:
  • action (str) – Action to upload database to HuggingFace

  • database_name (str) – Name of the local database to upload

  • repository (str) – HuggingFace repository name (format: username/repo-name)

  • description (str) – Description for the HuggingFace dataset

  • private (bool) – Whether to create a private repository

  • commit_message (str) – Commit message for the upload

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any