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

Component

core/ai-agent/haystack

A Haystack agent, run in-cluster as an application image the Release supplies. Haystack builds retrieval-augmented pipelines declaratively — the pipeline is a YAML document carried inside the application image — so what this component exposes is the path to that document plus the ceiling on how many times the agent may loop before it stops. Alongside the model socket it declares a document-store socket admitting vector, semantic-memory and search engines, so the store a pipeline retrieves from is chosen in the Aggregate rather than fixed in code, and changing it rebuilds no image. The catalog supplies no image for it — Haystack is published as a library an application is built around, so there is no upstream image to pin — and until a Release sets `infra.image` the build halts naming the container image and renders nothing. The document-store connection is delivered to the application only through an `inject:` block on it, under the names the application reads, as variables or as files; on the model connection such a block replaces the default variables. Its Recipes deliver each own value under a default variable name; the component's own `inject:` block takes `env` and `file` entries, and one reading a value alone replaces that value's default name.

ที่มา

ทางการลงลายเซ็นด้วยตัวตนที่แค็ตตาล็อกนี้รู้จักว่าเป็นผู้เผยแพร่ทางการ
ไดเจสต์ของเนื้อหา
sha256:3a6d44d4fbeaa1f8f340c0a2c4c885e35b00050bde340089179ee95577fd26ad
เผยแพร่
2026-11-10T10:08:12Z
ตัวตนผู้ลงลายเซ็น
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:1fcbf0d7e027b9387dba8217914800fd0754dab70f369ed592d0305bb2eb8c8f

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

oci://hub.aggrega.ai/component/core/ai-agent/haystack:1.0.0

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

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

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

ชื่อชนิดค่าเริ่มต้นจำเป็นคำอธิบาย
pipeline_yaml_pathstring—ใช่—
max_loopsinteger10ใช่—

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

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

ชื่อชนิดค่าเริ่มต้นจำเป็นคำอธิบาย
imagestring—ไม่ใช่Container image running the Haystack application code.

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

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

ไม่มีค่าเอาต์พุตที่ประกาศ

ซ็อกเก็ต Uses

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

document_store

ตัวคัดเลือก
datastore.aggrega.ai/engine in (vector, semantic-memory, search)
Inject
env, file

ซ็อกเก็ตนี้ไม่ประกาศสล็อตการแนบ การเชื่อมต่อผ่านซ็อกเก็ตนี้จึงไม่มีการแนบติดมา

model

ตัวคัดเลือก
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
Inject
env, file

สล็อตที่แต่ละการเชื่อมต่อผ่านซ็อกเก็ตนี้เติมได้

สล็อตตัวคัดเลือกจำเป็นInjectละเอียดอ่อนคำอธิบาย
credentialfeature.aggrega.ai/kind=secretไม่ใช่envใช่Optional credential the agent presents to the model this connection reaches. When attached, the Recipe delivers it to the application as OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key.

สล็อตการแนบ

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

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

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

env, file

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

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

Uses

ใช้โดย

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

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

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

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