Skip to content

MAINT Add registry names to target table - #2479

Open
Behnam (behnam-o) wants to merge 1 commit into
microsoft:mainfrom
behnam-o:feature/target-table-registry-name
Open

MAINT Add registry names to target table#2479
Behnam (behnam-o) wants to merge 1 commit into
microsoft:mainfrom
behnam-o:feature/target-table-registry-name

Conversation

@behnam-o

Copy link
Copy Markdown
Contributor

This PR adds a column to the targets table on the web UI that shows the targets' registry names.

Today we only show the target type (python class), model, endpoint, etc. but not a human-readable friendly name for each entry. The registry name of each target is a good field that serves that purpose.

This is also helpful when multiple targets are registered that have similar model + endpoint + class but differ in some other param (e.g. temprature), usually the registry name is set in a way to clarify that. ( for example, here are 2 default targets we register today that look similar on the UI but the registry name clarifies what's different between them)
image

)

expect(screen.getByText('Registry Name')).toBeInTheDocument()
expect(screen.getByText('openai_chat_gpt4')).toBeInTheDocument()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: do we want to test that registry names are also present when round robin row is expanded (maybe in the test around ~line 350)? and also for active target

@jsong468

Copy link
Copy Markdown
Contributor

is there a reason we didn't do this before? 😄 it seems pretty intuitive to have this...

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.

3 participants