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 HuggingFacedatabase_name (
str
) β Name of the local database to uploadrepository (
str
) β HuggingFace repository name (format: username/repo-name)description (
str
) β Description for the HuggingFace datasetprivate (
bool
) β Whether to create a private repositorycommit_message (
str
) β Commit message for the uploadstream_callback (
Callable
, optional) β Callback for streaming output
- Return type:
Any