Huggingface.js documentation
Giao diện: CopyDestination
@huggingface/inference
Sử dụng Inference ClientTham khảo API
Các lớp
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Giao diện
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerTùy chọnTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Các module
@huggingface/hub
Tương tác với HubTham khảo API
Các lớp
Giao diện
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceThông tin xác thựcDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Giao diện: CopyDestination
Vị trí đích cho copyFile / copyFolder.
Kho đích phải là một bucket — sao chép phía máy chủ hiện chỉ được hỗ trợ hướng tới các bucket.
Thuộc tính
path
• path: string
Đường dẫn đích chính xác trong bucket đích. Đối với copyFolder, đóng vai trò là tiền tố; để trống để sao chép dưới gốc bucket.
Được định nghĩa trong
packages/hub/src/lib/copy-files.ts:65
repo
• repo: BucketDesignation
Được định nghĩa trong
packages/hub/src/lib/copy-files.ts:60
Update on GitHub