Skip to content

Commit 1f7b857

Browse files
authored
feat: Support document grounding and prompt registry spec update (#595)
1 parent d5007c9 commit 1f7b857

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/spec-update.yaml

+12-7
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
type: choice
99
required: false
1010
options:
11-
- core
12-
- grounding
11+
- ai-api
12+
- document-grounding
1313
- orchestration
14+
- prompt-registry
1415
default: orchestration
1516
file-ref:
1617
description: "Branch or tag to checkout the spec file from"
@@ -62,18 +63,22 @@ jobs:
6263
GH_ENTERPRISE_TOKEN: ${{ secrets.GH_TOOLS_TOKEN }}
6364
run: |
6465
case $CHOICE in
65-
core)
66+
ai-api)
6667
API_URL="$API_BASE_URL/cloudsdk/cloud-sdk-java-tests/contents/aicore.yaml?ref=$REF"
6768
FILE_PATH='packages/ai-api/src/spec/AI_CORE_API.yaml'
6869
;;
69-
grounding)
70-
# TODO
71-
exit 1
70+
document-grounding)
71+
API_URL="$API_BASE_URL/AI/rage-proxy-inference/contents/docs/public/business_api_hub/api_hub_merged_spec.yaml?ref=$REF"
72+
FILE_PATH='packages/document-grounding/src/spec/api.yaml'
7273
;;
7374
orchestration)
7475
API_URL="$API_BASE_URL/AI/llm-orchestration/contents/src/spec/api.yaml?ref=$REF"
7576
FILE_PATH='packages/orchestration/src/spec/api.yaml'
7677
;;
78+
prompt-registry)
79+
API_URL="$API_BASE_URL/AI/prompt-registry/contents/src/spec/prompt-registry.yaml?ref=$REF"
80+
FILE_PATH='packages/prompt-registry/src/spec/prompt-registry.yaml'
81+
;;
7782
esac
7883
7984
echo "Downloading $CHOICE specification file from $API_URL ..."
@@ -158,7 +163,7 @@ jobs:
158163
## Definition of Done
159164
160165
- [ ] Unit / type tests cover new classes
161-
- [ ] Release notes updated
166+
- [ ] Release notes / Changeset updated
162167
") && echo "pr_url=$PR_URL" >> "$GITHUB_OUTPUT"
163168
164169
- name: Generate Job Summary

0 commit comments

Comments
 (0)