pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
901 stars 318 forks source link

New command: m365 spp model list #6103

Open mkm17 opened 2 months ago

mkm17 commented 2 months ago

Usage

m365 spp model list [options]

Description

Retrieve the list of SharePoint Premium unstructured document processing models on the content center site.

Options

Option Description
-u, --siteUrl <siteUrl> The URL of the content center site.

Examples

Retrieve the list of SharePoint Premium unstructured document processing models on the content center site.

m365 spp model list --siteUrl https://contoso.sharepoint.com/sites/ContentCenter

Default properties

Additional Info

Endpoint to be used https://contose.sharepoint.com/sites/ContentCenter/_api/machinelearning/models

Adam-it commented 2 months ago

LGTM 👏👍 lets open it up for the community. @mkm17 would you like to take the lead on this one or you want this to be open for anyone?

mkm17 commented 2 months ago

Hi @Adam-it I have the environment configured for Syntex already so I would be glad to take it ;)

Adam-it commented 2 months ago

Hi @Adam-it I have the environment configured for Syntex already so I would be glad to take it ;)

all yours

milanholemans commented 2 months ago

Isn't Syntex being renamed to SharePoint premium? If not, I would use syntex instead of stx which is clearer in my opinion.

Adam-it commented 2 months ago

Isn't Syntex being renamed to SharePoint premium? If not, I would use syntex instead of stx which is clearer in my opinion.

it's hard to say. SharePoint Premium seems like something build on top of Syntex that has a bit more capabilities 🤔 but it still does seem like syntex naming is used as well 🤔. Lets move this conversation regarding naming to the epic issue 👍

mkm17 commented 2 months ago

@milanholemans to be honest, I am not sure, maybe we have here any Microsoft products naming specialist? 😄 But if we decide to rename it then would then have another task to change the whole documentation 😄

https://learn.microsoft.com/en-us/microsoft-365/syntex/ https://learn.microsoft.com/en-us/sharepoint/dev/apis/syntex/syntex-model-rest-api

This page is quite recent (Autofill columns description from May 2024 and Syntex is still used) https://learn.microsoft.com/en-us/microsoft-365/syntex/autofill-overview

Adam-it commented 2 months ago

@milanholemans to be honest, I am not sure, maybe we have here any Microsoft products naming specialist? 😄

I know a naming specialist like this.. unfortunately on holiday for another 3 weeks 😱. But I have a different person I could also ask 🤔

Jwaegebaert commented 1 month ago

Great find with the endpoint @mkm17! As, surprisingly, doesn't seem to be documented. A bit of simular comments to the previous commands:

But besides those, it looks quite ready to go!

mkm17 commented 1 month ago

@Jwaegebaert same here, all proposed changes applied :)

Jwaegebaert commented 1 month ago

Awesome, let's wait a bit regarding the naming for the command and then we can open it up. Do you want to work on this one, or shall we open it up?