Huggingface.js documentation
Interface : Logger
@huggingface/inference
Utiliser le client d'inférenceRéférence de l'API
Classes
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
Interfaces
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerOptionsTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
Modules
@huggingface/hub
Interagir avec le HubRéférence de l'API
Classes
Interfaces
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySourceIdentifiantsDatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
Interface : Logger
Propriétés
debug
• debug : (message : string, …args : unknown[]) => void
Déclaration de type
▸ (message, ...args): void
Paramètres
| Nom | Type |
|---|---|
message | string |
...args | unknown[] |
Retourne
void
Défini dans
error
• error : (message : string, …args : unknown[]) => void
Déclaration de type
▸ (message, ...args): void
Paramètres
| Nom | Type |
|---|---|
message | string |
...args | unknown[] |
Retourne
void
Défini dans
info
• info : (message : string, …args : unknown[]) => void
Déclaration de type
▸ (message, ...args): void
Paramètres
| Nom | Type |
|---|---|
message | string |
...args | unknown[] |
Retourne
void
Défini dans
log
• log : (message : string, …args : unknown[]) => void
Déclaration de type
▸ (message, ...args): void
Paramètres
| Nom | Type |
|---|---|
message | string |
...args | unknown[] |
Retourne
void
Défini dans
warn
• warn : (message : string, …args : unknown[]) => void
Déclaration de type
▸ (message, ...args): void
Paramètres
| Nom | Type |
|---|---|
message | string |
...args | unknown[] |
Retourne
void