Implement Models API Part #1#14533
Conversation
3ae9dba to
68a49c1
Compare
| * Gets a model, including the model metadata and the model definition asynchronously. | ||
| * @param modelId The Id of the model. | ||
| * @return A REST response containing the model. | ||
| * @return The ModelData and the http response |
There was a problem hiding this comment.
I have seen the format of "The Http response containing modelData"
We can decide one and use the same everywhere.
|
|
||
| /** | ||
| * Gets a model, including the model metadata and the model definition. | ||
| * @param modelId The Id of the model. |
|
|
||
| /** | ||
| * Gets a model, including the model metadata and the model definition asynchronously. | ||
| * @param modelId The Id of the model. |
There was a problem hiding this comment.
same here as above and other places
| * Creates one or many models. | ||
| * @param models The list of models to create. Each string corresponds to exactly one model. | ||
| * @return A REST response containing the list of created models. | ||
| * @return A {@link PagedIterable} of created ModelData. |
There was a problem hiding this comment.
Add a comment about context too?
There was a problem hiding this comment.
I will only update the actual implementation from now on
There was a problem hiding this comment.
What is part 2 suppose to contain?
Decommision and rest of it?
Decommission APIs and the Samples and tests.
| * @return A {@link PagedFlux} of ModelData and the http response. | ||
| */ | ||
| @ServiceMethod(returns = ReturnType.COLLECTION) | ||
| public PagedFlux<ModelData> listModels(ListModelOptions listModelOptions) { } |
There was a problem hiding this comment.
same here, with response?
| /** | ||
| * Deletes a model. | ||
| * @param modelId The id for the model. The id is globally unique and case sensitive. | ||
| * @return An empty Mono |
There was a problem hiding this comment.
do we even need to mention this return?
There was a problem hiding this comment.
Yes, we will get doc verification errors.
bikamani
left a comment
There was a problem hiding this comment.
What is part 2 suppose to contain?
Decommision and rest of it?
No description provided.