यह पेज मशीन से अनुवादित है। अंग्रेज़ी मूल पढ़ें।

Component

core/ai-agent/dify-worker

The Dify task worker — the Celery consumer that runs everything a Dify installation does off the request path: indexing uploaded documents into the vector datastore, executing scheduled and queued workflow runs, generating dataset segments, and delivering mail and webhooks. It takes work from the Redis-compatible broker wired through the `cache` uses-socket, reads and writes the platform's relational model in the PostgreSQL backend wired through `backend`, and writes embeddings into the vector datastore wired through `vector_store`. Workflow code nodes it executes run in the sandbox wired through `sandbox`, and outbound requests to addresses a user supplied are routed through the forward proxy wired through `ssrf_proxy`. It serves no port and nothing connects to it — work reaches it through the broker — so it publishes no provides contract and renders as a stateless worker tier.

संस्करण

1.0.01.1.0

प्रोवेनेंस

आधिकारिकऐसी हस्ताक्षर आइडेंटिटी द्वारा हस्ताक्षरित, जिसे यह कैटलॉग आधिकारिक प्रकाशक के रूप में मान्यता देता है।
सामग्री डाइजेस्ट
sha256:7c4ad899822ecdbfd1a53335cb6937b11fd10217e1890ed1a4228178669035f8
प्रकाशित
2026-11-10T10:07:55Z
हस्ताक्षर आइडेंटिटी
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:7938d27dd7a37a9d6706df74a66187a28fcf33a9f2abd1bb50b8c6faa3fec564

इस संस्करण का रेफ़रेंस

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

डेवलपर पैरामीटर

वे मान जिन्हें डेवलपर Aggregate में सेट करता है।

नामटाइपडिफ़ॉल्टआवश्यकविवरण
vector_index_prefixstringVector_indexनहींName prefix the worker gives the collections it creates in the wired vector datastore. It matches the API server's prefix, because the two write the same collections.
indexing_max_segmentation_tokensinteger (min 1)4000नहींLongest segment, in tokens, the dataset indexer produces when it splits a document.

ऑपरेटर का आकार-निर्धारण

इन्फ़्रास्ट्रक्चर का आकार-निर्धारण, जिसे ऑपरेटर हर एनवायरनमेंट के लिए समायोजित करता है।

नामटाइपडिफ़ॉल्टआवश्यकविवरण
engine_versionstring1.17.0नहींDify API container image tag. The API server, the scheduler and this worker run the same image, so a Release moves all three together.
log_levelstring (DEBUG | INFO | WARNING | ERROR | CRITICAL)INFOनहींLog verbosity the worker emits.
concurrencyinteger (min 1)4नहींNumber of task slots one worker process runs in parallel. Raising it raises throughput and the worker's memory ceiling together, so it is sized with compute.memory.
computeobject—नहीं—
overridesobject (open)—नहींProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

आउटपुट अनुबंध

वे मान जिन्हें यह घटक uses टोपोलॉजी के ज़रिए उपभोक्ताओं को प्रकाशित करता है।

कोई आउटपुट मान घोषित नहीं है।

uses सॉकेट

वे डिपेंडेंसी सॉकेट जिनसे होकर यह घटक कनेक्ट होता है। किसी सॉकेट से होकर वायर किए गए हर कनेक्शन के लक्ष्य को उस सॉकेट के लेबल सेलेक्टर को संतुष्ट करना होगा, और हर कनेक्शन सॉकेट द्वारा घोषित स्लॉट में एक अटैचमेंट ले जा सकता है। आवश्यक स्लॉट को भरना हर उस कनेक्शन का दायित्व है जिसे Aggregate या Release सॉकेट से होकर वायर करता है।

backend

सेलेक्टर
component.aggrega.ai/category=datastore
इंजेक्ट
env

वे स्लॉट जिन्हें इस सॉकेट से होकर जाने वाला हर कनेक्शन भर सकता है

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
credentialfeature.aggrega.ai/kind=secretनहींenvहाँOptional password the worker presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem; unattached, the Recipe uses the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password.

cache

सेलेक्टर
component.aggrega.ai/category=datastore
इंजेक्ट
env

वे स्लॉट जिन्हें इस सॉकेट से होकर जाने वाला हर कनेक्शन भर सकता है

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
server_cafeature.aggrega.ai/kind=secretनहींfileहाँOptional authority the worker checks the cache's certificate against while the cache publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only and points the cache client and the task broker at the file. The build halts on a server_ca publishing no Secret name, and on one wired to a cache served without TLS. Fill it with core/referenced-secret.

vector_store

सेलेक्टर
datastore.aggrega.ai/engine in (vector, semantic-memory, search)
इंजेक्ट
env

यह सॉकेट कोई अटैचमेंट स्लॉट घोषित नहीं करता, इसलिए इससे होकर जाने वाला कनेक्शन कोई अटैचमेंट नहीं ले जाता।

sandbox

सेलेक्टर
component.aggrega.ai/category=ai-agent
इंजेक्ट
env

वे स्लॉट जिन्हें इस सॉकेट से होकर जाने वाला हर कनेक्शन भर सकता है

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
credentialfeature.aggrega.ai/kind=secretनहींenvहाँOptional execution-key credential the worker presents on every request to the sandbox this connection reaches. The same credential is attached to the code_execution_key slot on the sandbox, so both ends hold the same value. Unattached, the Recipe uses the pinned development literal `dify-sandbox`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it.

plugin_daemon

सेलेक्टर
component.aggrega.ai/category=ai-agent
इंजेक्ट
env

वे स्लॉट जिन्हें इस सॉकेट से होकर जाने वाला हर कनेक्शन भर सकता है

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
credentialfeature.aggrega.ai/kind=secretनहींenvहाँOptional credential the worker presents on every call it makes to the plugin runtime this connection reaches. The runtime holds the same key in its plugin_daemon_key slot and the API server presents it on its own connection, so the credential is attached to all three or to none: attaching it to some of them leaves the rest carrying a different value, which renders cleanly and is refused when the call is made. Unattached, the Recipe uses the pinned development literal `dify-plugin-daemon-server-key`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it.

ssrf_proxy

सेलेक्टर
component.aggrega.ai/category=ai-agent
इंजेक्ट
env

यह सॉकेट कोई अटैचमेंट स्लॉट घोषित नहीं करता, इसलिए इससे होकर जाने वाला कनेक्शन कोई अटैचमेंट नहीं ले जाता।

अटैचमेंट स्लॉट

नामित बाइंडिंग बिंदु, जिन पर कोई Feature इस घटक से अटैच होता है। स्लॉट का सेलेक्टर यह सीमित करता है कि कौन-सा Feature उसे भर सकता है, और उसकी inject सूची बताती है कि Feature की सामग्री किन तरीकों से पहुँचाई जा सकती है। आवश्यक स्लॉट को हर इंस्टेंस पर बाइंड होना चाहिए, इंस्टेंस पर या उसके ऊपर के किसी दायरे में किसी अटैचमेंट द्वारा, और संवेदनशील स्लॉट सीक्रेट सामग्री सँभालने के लिए घोषित किया जाता है। कोई Feature ऐसे नाम के तहत भी अटैच हो सकता है जिसे कोई स्लॉट घोषित नहीं करता।

स्लॉटसेलेक्टरआवश्यकइंजेक्टसंवेदनशीलविवरण
secret_keyfeature.aggrega.ai/kind=secretहाँenvहाँRequired application-secret credential. The worker decrypts stored model-provider credentials under it, so it carries the same secret as the API server. There is no default: the build halts when nothing fills this slot.
inner_api_keyfeature.aggrega.ai/kind=secretनहींenvहाँOptional credential the plugin runtime presents on every call back into the internal API, which the worker compares against its own. The worker and the API server declare this slot under the same name and the plugin runtime presents it on its connection to the API server, so the credential is attached to all three or to none: attaching it to some of them leaves the rest carrying a different value, which renders cleanly and is refused when the call is made. Unattached, the Recipe uses the pinned development literal `dify-plugin-inner-api-key`, suitable for evaluation only and published in this catalog, so every Release that leaves the slot unattached shares it.

सेल्फ़-इंजेक्ट अनुमति-सूची

env

संबंध

अन्य प्रकाशित एंटिटी की ओर जाने वाले और उनसे आने वाले टाइप किए गए एज। जिस रेफ़रेंस का कोई प्रकाशित लक्ष्य नहीं है, वह लिंक के बजाय टूटे हुए एज के रूप में दिखाया जाता है।

इनका उपयोग करता है

इनके द्वारा उपयोग किया जाता है

Component का अवधारणा संदर्भ

Aggrega कैटलॉग — घटकों, फ़ीचरों, रेसिपियों और उन्हें रेंडर करने वाले प्लगइनों का एक खुला इंडेक्स।

साझा Aggrega डिज़ाइन सिस्टम से बनाया गया।

गोपनीयता