Skip to content

feat: Support document grounding and prompt registry spec update #595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/spec-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ on:
type: choice
required: false
options:
- core
- grounding
- ai-api
- document-grounding
- orchestration
- prompt-registry
default: orchestration
file-ref:
description: "Branch or tag to checkout the spec file from"
Expand Down Expand Up @@ -62,18 +63,22 @@ jobs:
GH_ENTERPRISE_TOKEN: ${{ secrets.GH_TOOLS_TOKEN }}
run: |
case $CHOICE in
core)
ai-api)
API_URL="$API_BASE_URL/cloudsdk/cloud-sdk-java-tests/contents/aicore.yaml?ref=$REF"
FILE_PATH='packages/ai-api/src/spec/AI_CORE_API.yaml'
;;
grounding)
# TODO
exit 1
document-grounding)
API_URL="$API_BASE_URL/AI/rage-proxy-inference/contents/docs/public/business_api_hub/api_hub_merged_spec.yaml?ref=$REF"
FILE_PATH='packages/document-grounding/src/spec/api.yaml'
;;
orchestration)
API_URL="$API_BASE_URL/AI/llm-orchestration/contents/src/spec/api.yaml?ref=$REF"
FILE_PATH='packages/orchestration/src/spec/api.yaml'
;;
prompt-registry)
API_URL="$API_BASE_URL/AI/prompt-registry/contents/src/spec/prompt-registry.yaml?ref=$REF"
FILE_PATH='packages/prompt-registry/src/spec/prompt-registry.yaml'
;;
esac

echo "Downloading $CHOICE specification file from $API_URL ..."
Expand Down Expand Up @@ -158,7 +163,7 @@ jobs:
## Definition of Done

- [ ] Unit / type tests cover new classes
- [ ] Release notes updated
- [ ] Release notes / Changeset updated
") && echo "pr_url=$PR_URL" >> "$GITHUB_OUTPUT"

- name: Generate Job Summary
Expand Down
Loading