Huggingface.js documentation
Giao diện: WhoAmIOrg
@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: WhoAmIOrg
Thuộc tính
avatarUrl
• avatarUrl: string
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:35
canPay
• canPay: boolean
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:34
• email: null | string
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:33
fullname
• fullname: string
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:32
id
• id: string
ID duy nhất được duy trì xuyên qua các lần đổi tên
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:29
name
• name: string
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:31
periodEnd
• periodEnd: null | number
Thời gian Unix tính bằng giây
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:39
type
• type: "org"
Được định nghĩa trong
packages/hub/src/lib/who-am-i.ts:30
Update on GitHub