diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py index a07bc30fce3d..beebceca0a4f 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py @@ -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. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py index 7155562749a5..5f78877e206a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py @@ -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 @@ -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 diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py index 851e316b4ca0..943f52f6b2d2 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py @@ -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. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_create_composed_model_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_create_composed_model_async.py index 43a4fb795419..f019899d4d28 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_create_composed_model_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_create_composed_model_async.py @@ -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)) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_create_composed_model.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_create_composed_model.py index ce28d9cdedc2..ab9b1c5cb8d2 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_create_composed_model.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_create_composed_model.py @@ -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))