Skip to content

Commit

Permalink
Update ml_commons_client.py
Browse files Browse the repository at this point in the history
Signed-off-by: Kalyan <[email protected]>
  • Loading branch information
rawwar authored Dec 21, 2023
1 parent 0d7b096 commit a393c59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opensearch_py_ml/ml_commons/ml_commons_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ def get_profile(
Args:
profile_type: The type of profile to retrieve. Valid values are 'all', 'model', or 'task'. Default is 'all'.
'all': Retrieves all profiles available.
'model': Retrieves the profile(s) of the specified model(s). The model(s) to retrieve are specified by the 'ids' parameter.
'task': Retrieves the profile(s) of the specified task(s). The task(s) to retrieve are specified by the 'ids' parameter.
ids: Either a single profile ID as a string, or a list of profile IDs to retrieve. Default is None.
request_body: The request body containing additional information. Default is None.
Expand Down

0 comments on commit a393c59

Please sign in to comment.