Skip to content

Commit 3747ce3

Browse files
authored
chore: fix typo in readme (#1739)
1 parent 24f0c6f commit 3747ce3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ To list all model evaluations for a model:
315315

316316
.. code-block:: Python
317317
318-
model = aiplatform.Model('/projects/my-project/locations/us-central1/models/{MODEL_ID}')
318+
model = aiplatform.Model('projects/my-project/locations/us-central1/models/{MODEL_ID}')
319319
320320
evaluations = model.list_model_evaluations()
321321
@@ -324,7 +324,7 @@ To get the model evaluation resource for a given model:
324324

325325
.. code-block:: Python
326326
327-
model = aiplatform.Model('/projects/my-project/locations/us-central1/models/{MODEL_ID}')
327+
model = aiplatform.Model('projects/my-project/locations/us-central1/models/{MODEL_ID}')
328328
329329
# returns the first evaluation with no arguments, you can also pass the evaluation ID
330330
evaluation = model.get_model_evaluation()
@@ -337,7 +337,7 @@ You can also create a reference to your model evaluation directly by passing in
337337
.. code-block:: Python
338338
339339
evaluation = aiplatform.ModelEvaluation(
340-
evaluation_name='/projects/my-project/locations/us-central1/models/{MODEL_ID}/evaluations/{EVALUATION_ID}')
340+
evaluation_name='projects/my-project/locations/us-central1/models/{MODEL_ID}/evaluations/{EVALUATION_ID}')
341341
342342
Alternatively, you can create a reference to your evaluation by passing in the model and evaluation IDs:
343343

0 commit comments

Comments
 (0)