Merge branch 'main' into fix/merge-main-into-batch-t173
# Conflicts: # console-ui/public/portal/index.html # cypher-executor/src/routes/health.ts # cypher-executor/src/routes/portal.ts # registry/components/kbdb_upsert_block/component.contract.yaml # registry/examples/km-wiki-ingest/workflow.yaml
This commit is contained in:
@@ -14,7 +14,7 @@ config:
|
||||
|
||||
list_unprocessed:
|
||||
component: kbdb_get
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
type: "note"
|
||||
source: "user-input"
|
||||
limit: 20
|
||||
@@ -32,7 +32,7 @@ config:
|
||||
trigger_processor:
|
||||
component: trigger_workflow
|
||||
workflow_name: "your_processor_workflow" # ← 改成你的處理 workflow 名
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
input:
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
block_id: "{{item.id}}"
|
||||
|
||||
@@ -17,7 +17,7 @@ config:
|
||||
|
||||
fetch_kbdb_yesterday:
|
||||
component: kbdb_get
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
type: "note"
|
||||
source: "km-writer-direct"
|
||||
limit: 50
|
||||
|
||||
@@ -33,7 +33,7 @@ config:
|
||||
url: "https://api.github.com/repos/{{input.repository.full_name}}/issues/{{input.issue.number}}/comments"
|
||||
method: POST
|
||||
headers:
|
||||
Authorization: "Bearer {{secret.GITHUB_BOT_TOKEN}}"
|
||||
Authorization: "Bearer {{credential.github_bot_token}}"
|
||||
Accept: "application/vnd.github+json"
|
||||
body_json:
|
||||
body: "{{analyze.first_response}}"
|
||||
@@ -43,7 +43,7 @@ config:
|
||||
url: "https://api.github.com/repos/{{input.repository.full_name}}/issues/{{input.issue.number}}/labels"
|
||||
method: POST
|
||||
headers:
|
||||
Authorization: "Bearer {{secret.GITHUB_BOT_TOKEN}}"
|
||||
Authorization: "Bearer {{credential.github_bot_token}}"
|
||||
body_json:
|
||||
labels:
|
||||
- "auto-triaged"
|
||||
|
||||
@@ -24,7 +24,7 @@ config:
|
||||
|
||||
save_with_tag:
|
||||
component: kbdb_create_block
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
type: "note"
|
||||
source: "llm-classified"
|
||||
user_id: "ai_classifier"
|
||||
|
||||
@@ -12,24 +12,24 @@ config:
|
||||
dispatch_to_summary:
|
||||
component: trigger_workflow
|
||||
workflow_name: "llm_classify_example" # 改成你的 summary workflow
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
input:
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
text: "{{input.text}}"
|
||||
|
||||
dispatch_to_translate:
|
||||
component: trigger_workflow
|
||||
workflow_name: "your_translate_workflow"
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
input:
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
text: "{{input.text}}"
|
||||
target_lang: "{{input.target_lang}}"
|
||||
|
||||
dispatch_to_classify:
|
||||
component: trigger_workflow
|
||||
workflow_name: "llm_classify_example"
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
input:
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
text: "{{input.text}}"
|
||||
|
||||
@@ -18,7 +18,7 @@ config:
|
||||
# source 用 file_url 當去重 key(同 PDF 重 ingest 不會重複建)
|
||||
ingest_to_kbdb:
|
||||
component: kbdb_ingest
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
page_name: "pdf-{{input.title}}"
|
||||
text: "{{convert_pdf.data.text}}"
|
||||
source: "pdf:{{input.pdf_url}}"
|
||||
|
||||
@@ -8,7 +8,7 @@ flow:
|
||||
config:
|
||||
search_kbdb:
|
||||
component: kbdb_search
|
||||
api_key: "{{api_key}}"
|
||||
api_key: "{{credential.arcrun_namespace}}"
|
||||
query: "{{input.question}}"
|
||||
topK: 5
|
||||
user_id: "{{input.user_id}}" # 可選,限定某用戶 namespace
|
||||
|
||||
Reference in New Issue
Block a user