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

Component

core/ai-agent/phidata

A Phidata agent, run in-cluster as an application image the Release supplies. Phidata separates two kinds of remembering that other frameworks fold together: session storage, which holds the running conversation so a later turn can see an earlier one, and a knowledge base, which holds reference material the agent retrieves from. This component declares both as distinct topology edges — the only agent here that does — and its two values govern whether prior turns are replayed into the prompt and whether replies are formatted as markdown. The Release supplies the image containing the Phidata application. The catalog pins no image, so nothing renders until the Release sets `infra.image`. The variables each connection is delivered under are defaults: an `inject:` block on the connection replaces them with the names the application reads, as variables or as files, and a store connection writing none refuses a store served over TLS alone or over HTTPS, since the application would be handed only its host and port. Neither store connection carries a credential, so a store that requires signing in cannot be reached through one. 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:b44e2a81a1c73c4734cba68b4972369745e4e3b106c7badbc1bdf899e5048fd8
Đã xuất bản
2026-11-10T10:08:41Z
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:4c3fd5849cc68f6db3e2bf31c0e47f0ff61759e5c88c227195edc1d41896b89c

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

oci://hub.aggrega.ai/component/core/ai-agent/phidata: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ả
add_history_to_messagesbooleantruecó—
markdownbooleantruecó—

Đị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 Phidata 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.

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.

storage

Bộ chọn
component.aggrega.ai/category=datastore
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.

knowledge_base

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.

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ư