Huggingface.js documentation
الواجهة: WhoAmIApp
@huggingface/inference
استخدام عميل الاستدلالمرجع الواجهة البرمجية
الفئات
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
الواجهات
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerخياراتTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
وحدات
@huggingface/hub
التفاعل مع Hubمرجع الواجهة البرمجية
الفئات
الواجهات
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceبيانات الاعتمادDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
الواجهة: WhoAmIApp
الخصائص
id
• id: string
معرّف في
packages/hub/src/lib/who-am-i.ts:42
الاسم
• name: string
معرّف في
packages/hub/src/lib/who-am-i.ts:44
النطاق
• Optional scope: Object
إعلان النوع
| الاسم | النوع |
|---|---|
entities | string[] |
role | "admin" | "write" | "contributor" | "read" |
معرّف في
packages/hub/src/lib/who-am-i.ts:45
النوع
• النوع: "app"
معرّف في
packages/hub/src/lib/who-am-i.ts:43
Update on GitHub