Huggingface.js documentation

Giao diện: WhoAmIApp

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Giao diện: WhoAmIApp

Thuộc tính

id

• id: string

Được định nghĩa trong

packages/hub/src/lib/who-am-i.ts:42


name

• name: string

Được định nghĩa trong

packages/hub/src/lib/who-am-i.ts:44


phạm vi

• scope Optional: Object

Khai báo kiểu

TênLoại
entitiesstring[]
role"admin" | "write" | "contributor" | "read"

Được định nghĩa trong

packages/hub/src/lib/who-am-i.ts:45


type

• type: "app"

Được định nghĩa trong

packages/hub/src/lib/who-am-i.ts:43

Update on GitHub