Huggingface.js documentation
インターフェース: SpaceRuntime
@huggingface/inference
Inference Client を使用API リファレンス
クラス
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
インターフェース
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerオプションTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
モジュール
@huggingface/hub
Hub とのインタラクションAPI リファレンス
クラス
インターフェース
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySource認証情報DatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
インターフェース: SpaceRuntime
プロパティ
エラーメッセージ
• Optional errorMessage: string
定義場所
packages/hub/src/types/public.ts:108
gcTimeout
• Optional gcTimeout: null | number
秒
定義場所
packages/hub/src/types/public.ts:118
ハードウェア
• Optional ハードウェア: Object
型宣言
| 名前 | 型 |
|---|---|
current | null | SpaceHardwareFlavor |
currentPrettyName? | string |
requested | null | SpaceHardwareFlavor |
requestedPrettyName? | string |
定義場所
packages/hub/src/types/public.ts:109
リソース
• Optional リソース: SpaceResourceConfig
/spacesを呼び出す場合、?full=trueが指定されている場合のみ、これらのプロパティが取得されます。
定義場所
packages/hub/src/types/public.ts:116
sdk
• Optional sdk: SpaceSdk
定義場所
packages/hub/src/types/public.ts:106
sdkVersion
• Optional sdkVersion: string
定義場所
packages/hub/src/types/public.ts:107
ステージ
• ステージ: SpaceStage
定義場所
packages/hub/src/types/public.ts:105
Update on GitHub