Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
some docs feedback
  • Loading branch information
kristapratico committed Oct 7, 2020
commit 6919fb9e214e4ef99be0e9770a620f9934d15f55
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