Skip to content

Commit 3d935bb

Browse files
committed
an example also how to provide the compartment in the parameters.
1 parent 19ddce1 commit 3d935bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ads/aqua/shaperecommend/recommend.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ def valid_compute_shapes(
239239
"A compartment OCID is required to list available shapes. "
240240
"Please provide it as a parameter or set the 'NB_SESSION_COMPARTMENT_OCID' "
241241
"or 'PROJECT_COMPARTMENT_OCID' environment variable."
242+
"cli command: export NB_SESSION_COMPARTMENT_OCID=<NB_SESSION_COMPARTMENT_OCID>"
242243
)
243244

244245
oci_shapes = OCIDataScienceModelDeployment.shapes(compartment_id=compartment_id)

0 commit comments

Comments
 (0)