Skip to content

A CLI that facilitates injecting AI model metadata from various sources into the Backstage Catalog

License

Notifications You must be signed in to change notification settings

redhat-ai-dev/rhdh-ai-catalog-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backstage AI related administration CLI - bac

A CLI that facilitates injecting AI model metadata from various sources into the Backstage Catalog

Contributing

All contributions are welcome. The Apache 2 license is used and does not require any contributor agreement to submit patches. That said, the preference at this time for issue tracking is not GitHub issues in this repository.

Rather, visit the team's RHDHPAI Jira project and the 'model-registry-bridge' component.

As the team makes sufficient progress on the basic fit and finish items in the roadmap, and sufficiently progresses beyond the prototype phase, we'll revisit the use of GitHub issues in this repository.

See the development guide for details on how to build and test any contributions you make.

Usage

At a high level, the bac CLI

  • Provides for the generation of YAML formatted definitions of Backstage Components, Resources, and APIs catalog entities by accessing external systems that provide AI model metadata.
  • Which external systems are supported is expected to grow over time, at least in the short term.
  • Once that YAML information is stored in a HTTP accessible file, the bac CLI then provides commands to instruct a specific Backstage instance to import those entities into its catalog. This will show up as a Backstage Location in the catalog, where the Location is a parent of the Components, Resources and APIs.
  • Those Components, Resources, and APIs will have specific AI related types which will allow for distinguishing from other Components, Resources and APIs in the catalog.
  • It allows for the deletion of Backstage Locations and any Components, Resources, and APIs defined by that Location.
  • Lastly, the bac CLI allows for retrieving any AI related Components, Resources and APIs.

To receive detailed usage information and example invocations, after building the bac executable, you can run

bac help

This invocation will also provide the current list of subcommands. Similarly, running

bac help <subcommand>
bac help <subcommand> <subcommand>

will provide usage information, example invocations, optional flags, and additional subcommands for the current list of subcommands.

Potential tl;dr

First, our background document gets into the scenarios and personas we are targeting with this CLI, as well as rationale for the syntax, language(s), and the like.

Then, our roadmap document provides a snapshot of the more immediate changes we have planned, with Jira references when ideas reach sufficient priority to warrant official tracking.

About

A CLI that facilitates injecting AI model metadata from various sources into the Backstage Catalog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •