Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:3a6d44d4fbeaa1f8f340c0a2c4c885e35b00050bde340089179ee95577fd26ad
Đã xuất bản
2026-11-10T10:08:12Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

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

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

Mở rộng BaseComponents#/schemas/BaseAgentParameter

TênKiểuMặc địnhBắt buộcMô tả
pipeline_yaml_pathstring—có—
max_loopsinteger10có—

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
imagestring—khôngContainer image running the Haystack application code.

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

Chưa khai báo giá trị đầu ra nào.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

document_store

Bộ chọn
datastore.aggrega.ai/engine in (vector, semantic-memory, search)
Tiêm
env, file

Socket này không khai báo slot đính kèm nào, nên một kết nối qua nó không mang theo phần đính kèm nào.

model

Bộ chọn
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
Tiêm
env, file

Các slot mà mỗi kết nối qua socket này có thể lấp đầy

SlotBộ chọnBắt buộcTiêmNhạy cảmMô tả
credentialfeature.aggrega.ai/kind=secretkhôngenvcó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.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

env, file

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư