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

Component

core/ai-agent/dify-web

The Dify front end — the server-rendered web application behind the console and the published application pages. It renders the workflow editor, the dataset and application management screens, and the chat and completion surfaces an end user reaches, and it calls the API server for every piece of data it shows: the API server's in-cluster address arrives on the `api` uses-socket and becomes the base URL the server-side rendering path uses. Holds no state of its own and owns no datastore, so it renders as a stateless server. Exports its host, port and protocol to consumers via the uses topology, so an ingress tier can route the browser path to it.

Phiên bản

1.0.01.1.0

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:db7e8d35a7fb40356adde8fd3f677797ee461a87e444d075b09539b1b0ff01da
Đã xuất bản
2026-11-10T10:07:56Z
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:b97be9dcead388b4c8331781b450b2924ebaefc75ea071220aed65b39234e80d

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

oci://hub.aggrega.ai/component/core/ai-agent/dify-web: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.

TênKiểuMặc địnhBắt buộcMô tả
allow_embedbooleanfalsekhôngWhether a published application page may be framed by another site. Left at the default, the front end refuses to be framed, which is what stops another site presenting this installation's pages as its own.
text_generation_timeout_msinteger (min 1000)60000khôngHow long, in milliseconds, the browser waits for a generation response before giving up.
top_k_maxinteger (min 1)10khôngHighest retrieval top-k the editor offers. It matches the API server's ceiling, since a value above it is refused when the workflow runs.
max_parallel_limitinteger (min 1)10khôngHighest parallel-branch count the editor offers. It matches the API server's ceiling.
max_iterationsinteger (min 1)99khôngHighest iteration count the editor offers on an iteration node. It matches the API server's ceiling.
max_toolsinteger (min 1)10khôngHighest number of tools the editor lets an agent be given. It matches the API server's ceiling.

Đị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ả
portinteger (min 1024, max 65535)3000khôngHTTP listen port the front end serves the console and application pages on.
engine_versionstring1.17.0khôngDify front-end container image tag. It tracks the API server's tag, because the front end and the console API are released together.
external_base_urlstringkhôngExternally reachable base URL of the installation, as a browser sees it — the address the ingress tier publishes. The browser calls the console API at this address, so it is set wherever the front end is reached from outside the cluster. Left empty, the front end derives the address from the page it was served on.
computeobject—không—
overridesobject (open)—khôngProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

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.

TênKiểuMặc địnhBắt buộcMô tả
hoststring—cóIn-cluster DNS name of the Service serving the console and the published application pages. The ingress tier points its upstream at this name rather than at the API server.
portinteger—cóTCP port that Service serves the front end on. It follows the port an operator set in the Release, so the ingress tier reads it rather than assuming a default.
protocolstring—khôngURL scheme to reach `host` and `port` over, which a gateway composes its upstream address on.

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.

api

Bộ chọn
component.aggrega.ai/category=ai-agent
Tiêm
env

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

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ư