Skip to content

Commit

Permalink
some docs feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapratico committed Oct 7, 2020
1 parent 5a70733 commit 6919fb9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def begin_create_composed_model(
# type: (List[str], Any) -> LROPoller[CustomFormModel]
"""Creates a composed model from a collection of existing trained models with labels.
:param list[str] model_ids: List of model IDs that were trained with labels.
:param list[str] model_ids: List of model IDs to use in the composed model.
:keyword str display_name: Optional model display name.
:keyword int polling_interval: Default waiting time between two polls for LRO operations if
no Retry-After header is present.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ class CustomFormModel(object):
List of any training errors.
:ivar list[~azure.ai.formrecognizer.TrainingDocumentInfo] training_documents:
Metadata about each of the documents used to train the model.
:ivar str display_name: Optional user defined model name (max length: 1024).
:ivar str display_name: Optional user defined model name.
:ivar properties: Optional model properties.
:vartype properties: ~azure.ai.formrecognizer.CustomFormModelProperties
.. versionadded:: v2.1-preview
Expand Down Expand Up @@ -872,7 +872,7 @@ class CustomFormModelInfo(object):
Date and time (UTC) when model training was started.
:ivar ~datetime.datetime training_completed_on:
Date and time (UTC) when model training completed.
:ivar display_name: Optional user defined model name (max length: 1024).
:ivar display_name: Optional user defined model name.
:vartype display_name: str
:ivar properties: Optional model properties.
:vartype properties: ~azure.ai.formrecognizer.CustomFormModelProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ async def begin_create_composed_model(
) -> AsyncLROPoller[CustomFormModel]:
"""Creates a composed model from a collection of existing trained models with labels.
:param list[str] model_ids: List of model IDs that were trained with labels.
:param list[str] model_ids: List of model IDs to use in the composed model.
:keyword str display_name: Optional model display name.
:keyword int polling_interval: Default waiting time between two polls for LRO operations if
no Retry-After header is present.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def create_composed_model_async(self):
)
model = await poller.result()

print("Purchase Order Model Info:")
print("Office Supplies Composed Model Info:")
print("Model ID: {}".format(model.model_id))
print("Model display name: {}".format(model.display_name))
print("Is this a composed model?: {}".format(model.properties.is_composed_model))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def create_composed_model(self):
)
model = poller.result()

print("Purchase Order Model Info:")
print("Office Supplies Composed Model Info:")
print("Model ID: {}".format(model.model_id))
print("Model display name: {}".format(model.display_name))
print("Is this a composed model?: {}".format(model.properties.is_composed_model))
Expand Down

0 comments on commit 6919fb9

Please sign in to comment.