Skip to content

Conversation

@maysunfaisal
Copy link
Contributor

@maysunfaisal maysunfaisal commented Oct 27, 2025

What does this PR do?:

Pick Model Name from the Annotated Catalog Resource provided by the Bridge

This was required as Models outside RHOAI Model Catalog didnt necessarily have the model name set as metadata.name. Model Catalog Bridge now sets the annotation for the model name:

Model Resource deployed outside RHOAI Model Catalog

apiVersion: backstage.io/v1beta1
kind: Resource
metadata:
  namespace: default
  annotations:
    backstage.io/managed-by-location: ModelCatalogResourceEntityProvider:development
    backstage.io/managed-by-origin-location: ModelCatalogResourceEntityProvider:development
    rhdh.modelcatalog.io/model-name: qwen3-8b-fp8
  name: vllm-qwen3-8b-fp8

Model Resource deployed from RHOAI Model Catalog

apiVersion: backstage.io/v1beta1
kind: Resource
metadata:
  namespace: default
  annotations:
    backstage.io/managed-by-location: ModelCatalogResourceEntityProvider:development
    backstage.io/managed-by-origin-location: ModelCatalogResourceEntityProvider:development
    backstage.io/techdocs-ref: url:http://localhost:9090/modelcard?key=default_cataloggranite-3.1-8b-lab-v1
    rhdh.modelcatalog.io/model-name: granite-31-8b-lab-v1-version-1
  name: granite-31-8b-lab-v1-version-1

Which issue(s) this PR fixes:

N/A

PR acceptance criteria:

Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.

  • Tested and Verified

  • Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

How to test changes / Special notes to the reviewer:

Use the temp branch with the same changes (template name updated to avoid name clash or overwrite) https://github.com/maysunfaisal/ai-lab-template/blob/model-catalog-picker-1-test/templates/chatbot/template.yaml to test it out

@maysunfaisal maysunfaisal requested a review from a team as a code owner October 27, 2025 22:12
@maysunfaisal
Copy link
Contributor Author

maysunfaisal commented Oct 27, 2025

Model deployed outside RHOAI Catalog

Screenshot 2025-10-27 at 6 13 05 PM

Model deployed from RHOAI Catalog

Screenshot 2025-10-27 at 6 21 05 PM

@gabemontero
Copy link
Contributor

feel free to merge at your discretion @maysunfaisal - thanks

@maysunfaisal maysunfaisal merged commit dc8a5e7 into redhat-ai-dev:main Oct 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants