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

Updating ML Commons API documentation #156

Merged
merged 4 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/source/reference/api/ml_commons_delete_task_api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Delete Task
==================

.. currentmodule:: opensearch_py_ml

.. autofunction:: opensearch_py_ml.ml_commons.MLCommonClient.delete_task
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Upload Pretrained Model
==================
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you cover this line upto Model


.. currentmodule:: opensearch_py_ml

.. autofunction:: opensearch_py_ml.ml_commons.MLCommonClient.upload_pretrained_model
21 changes: 21 additions & 0 deletions docs/source/reference/mlcommons.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Upload Model

api/ml_commons_upload_api

Upload Pretrained Model
~~~~~~~~~~~~~~
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please cover this line upto Model?

.. toctree::
:maxdepth: 2

api/ml_commons_upload_pretrained_api

Load Model
~~~~~~~~~~~~~~
.. toctree::
Expand All @@ -33,6 +40,13 @@ Get Model Info

api/ml_commons_get_model_info_api

Generate Embedding
~~~~~~~~~~~~~~
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please cover this line upto Embedding

.. toctree::
:maxdepth: 2

api/ml_commons_generate_embedding_api

Unload Model
~~~~~~~~~~~~~~
.. toctree::
Expand All @@ -47,3 +61,10 @@ Delete Model

api/ml_commons_delete_model_api

Delete Task
~~~~~~~~~~~~~~
.. toctree::
:maxdepth: 2

api/ml_commons_delete_task_api