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

Properties

authMethod

authMethod: AuthMethod

Defined in

inference/src/types.ts:177


model

model: string

Defined in

inference/src/types.ts:178


task

Optional task: InferenceTask

Defined in

inference/src/types.ts:179


urlTransform

Optional urlTransform: (url: string) => string

Type declaration

▸ (url): string

Parameters
Name Type
url string
Returns

string

Defined in

inference/src/types.ts:180

Update on GitHub