หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

Component

core/ai-model/huggingface

Hugging Face's managed Inference API, reached as an external reference: no compute runs in-cluster and the compiler never calls the provider. It fronts models of several kinds rather than one, so beside the model name the component exposes the task a request is for — generating text, transforming it, or returning features — which is what decides the shape of the answer. Its host is fixed, so the realization publishes the endpoint itself and a Release supplies none. The API key is the consumer's to attach: the environment-variable name it arrives under belongs to the application rather than to the model.

ที่มา

ทางการลงลายเซ็นด้วยตัวตนที่แค็ตตาล็อกนี้รู้จักว่าเป็นผู้เผยแพร่ทางการ
ไดเจสต์ของเนื้อหา
sha256:6390e0adda266cc324633dc5d6423982c1f3346d76a81e6f76e40aff7b544215
เผยแพร่
2026-11-10T10:09:15Z
ตัวตนผู้ลงลายเซ็น
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

ลายเซ็น

  • ทางการapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:67708bfd7f7f6cc09c724f2d0c11cc38e411fab25abe9d0163e0126eb2689038

เอกสารอ้างอิงในเวอร์ชันนี้

oci://hub.aggrega.ai/component/core/ai-model/huggingface:1.0.0

พารามิเตอร์ของนักพัฒนา

ค่าที่นักพัฒนากำหนดใน Aggregate

ต่อยอดจาก BaseComponents#/schemas/BaseModelParameter

ชื่อชนิดค่าเริ่มต้นจำเป็นคำอธิบาย
taskstring (text-generation | text2text-generation | feature-extraction)text-generationใช่—

การกำหนดขนาดโดยผู้ดำเนินการ

ขนาดโครงสร้างพื้นฐานที่ผู้ดำเนินการปรับแต่งตามแต่ละสภาพแวดล้อม

ไม่ได้ประกาศการกำหนดขนาดโดยผู้ดำเนินการ

สัญญาเอาต์พุต

ค่าที่ส่วนประกอบนี้เผยแพร่ให้ผู้บริโภคผ่านโทโพโลยี uses

ชื่อชนิดค่าเริ่มต้นจำเป็นคำอธิบาย
endpointstring—ใช่Base URL of the Hugging Face Inference API. The host is fixed, so the realization publishes it and a consumer points its client here without a Release supplying anything.
modelstring—ใช่Repository id of the model a request is sent to. The API routes on it, so a consumer appends it to the endpoint or passes it as the model field.

ซ็อกเก็ต Uses

ซ็อกเก็ตการพึ่งพาที่ส่วนประกอบนี้เชื่อมต่อผ่าน เป้าหมายของทุกการเชื่อมต่อที่เชื่อมโยงผ่านซ็อกเก็ตต้องตรงกับตัวคัดเลือกป้ายกำกับของซ็อกเก็ต และแต่ละการเชื่อมต่อมีการแนบในสล็อตที่ซ็อกเก็ตประกาศได้ ทุกการเชื่อมต่อที่ Aggregate หรือ Release เชื่อมโยงผ่านซ็อกเก็ตต้องกำหนดสล็อตที่จำเป็น

ไม่มีซ็อกเก็ต uses ที่ประกาศ

สล็อตการแนบ

จุดผูกที่มีชื่อซึ่ง Feature แนบกับส่วนประกอบนี้ ตัวคัดเลือกของสล็อตจำกัดว่า Feature ใดเติมสล็อตได้ และรายการ inject ของสล็อตระบุว่าส่งมอบเนื้อหาของ Feature ได้อย่างไร สล็อตที่จำเป็นต้องถูกผูกในทุกอินสแตนซ์ ด้วยการแนบบนอินสแตนซ์หรือที่ขอบเขตเหนือขึ้นไป และสล็อตที่ละเอียดอ่อนถูกประกาศให้จัดการข้อมูลลับ Feature แนบภายใต้ชื่อที่ไม่มีสล็อตใดประกาศได้ด้วย

ไม่มีสล็อตการแนบที่ประกาศ

รายการอนุญาต self-inject

ไม่มีท่อ self-inject ที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

Uses

ใช้โดย

เอกสารอ้างอิงแนวคิดของ Component

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว