Skip to content
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

New command: m365 pp aibuildermodel list #4174

Closed
appieschot opened this issue Nov 29, 2022 · 10 comments
Closed

New command: m365 pp aibuildermodel list #4174

appieschot opened this issue Nov 29, 2022 · 10 comments

Comments

@appieschot
Copy link
Member

appieschot commented Nov 29, 2022

Usage

m365 pp aibuildermodel list

Description

List available AI builder models in the specified Power Platform environment.

Options

Option Description
-e, --environment <environment> The name of the environment for which to retrieve AI Builder models.
--asAdmin Run the command as admin and retrieve AI Builder models for environments you do not have explicitly assigned permissions to.

Examples

List AI Builder models in the given environment.

m365 pp aibuildermodel list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 

List AI Builder models in the given environment as admin.

m365 pp aibuildermodel list --environment Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
@appieschot appieschot changed the title m365 pp models list to list AI models New command: m365 pp models list Nov 29, 2022
@appieschot appieschot added the needs peer review Needs second pair of eyes to review the spec or PR label Nov 29, 2022
@Jwaegebaert Jwaegebaert added needs design and removed needs peer review Needs second pair of eyes to review the spec or PR labels Nov 29, 2022
@Jwaegebaert
Copy link
Contributor

Looks good to me!

@nicodecleyre
Copy link
Contributor

Nice suggestion!

Do you want to list all the available AI builder models from the UI or just all that are present in the environment?
Because there's a difference between prebuild and custom models. The custom models are the ones that you see in the UI and are customizable, the prebuilt aren't customizable

@appieschot
Copy link
Member Author

@nicodecleyre for me it feels we should do only the custom models; like you say the prebuilt models cannot be changed or removed so not much added value of retrieving those.

@waldekmastykarz
Copy link
Member

Let's replace models with model so that it's consistent with our naming convention of using singular nouns. Otherwise, we'd get into models remove, models add and models get which all operate on a single item and which would be confusing

@milanholemans milanholemans added needs peer review Needs second pair of eyes to review the spec or PR and removed needs design labels Dec 5, 2022
@waldekmastykarz
Copy link
Member

Thinking of it some more, is saying just models clear enough what the command is for? Would it be clearer to name it aibuildermodel instead?

@waldekmastykarz waldekmastykarz added new feature needs discussion and removed needs peer review Needs second pair of eyes to review the spec or PR labels Dec 10, 2022
@milanholemans
Copy link
Contributor

Thinking of it some more, is saying just models clear enough what the command is for? Would it be clearer to name it aibuildermodel instead?

Exactly what I was thinking, model is quite abstract imo.

@appieschot
Copy link
Member Author

Happy with the suggested change; updated ;-)

@appieschot appieschot changed the title New command: m365 pp models list New command: m365 pp aibuildermodel list Dec 13, 2022
@waldekmastykarz
Copy link
Member

No more comments, so ship it! 🚀

@nicodecleyre
Copy link
Contributor

Can I work on this? 😄

@milanholemans
Copy link
Contributor

All yours!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants