Huggingface.js documentation

Interface : UrlParams

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface : UrlParams

Propriétés

authMethod

• authMethod : AuthMethod

Défini dans

inference/src/types.ts:173


model

• modèle : string

Défini dans

inference/src/types.ts:174


tâche

• tâche Optional : InferenceTask

Défini dans

inference/src/types.ts:175


urlTransform

• Optional urlTransform : (url : string) => string

Déclaration de type

▸ (url): string

Paramètres
NomType
urlstring
Retourne

string

Défini dans

inference/src/types.ts:176

Update on GitHub