Skip to content

Commit f70c62f

Browse files
committed
restore changes made by PM
1 parent 92d4f84 commit f70c62f

File tree

4 files changed

+30
-301
lines changed

4 files changed

+30
-301
lines changed

articles/ai-foundry/how-to/healthcare-ai/deploy-cxrreportgen.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,20 @@ The CXRReportGen model combines a radiology-specific image encoder with a large
3535

3636
## Prerequisites
3737

38-
To use the CXRReportGen model, you need the following prerequisites:
38+
- An Azure subscription with a valid payment method. Free or trial Azure subscriptions won't work. If you don't have an Azure subscription, create a [paid Azure account](https://azure.microsoft.com/pricing/purchase-options/pay-as-you-go) to begin.
3939

40-
### A model deployment
40+
- An [Azure AI Foundry project](../create-projects.md).
4141

42-
**Deployment to a self-hosted managed compute**
42+
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure AI Foundry portal. To perform the steps in this article, your user account must be assigned the __Azure AI Developer role__ on the resource group. For more information on permissions, see [Role-based access control in Azure AI Foundry portal](../../concepts/rbac-ai-foundry.md).
4343

44-
CXRReportGen model can be deployed to our self-hosted managed inference solution, which allows you to customize and control all the details about how the model is served. You can deploy the model through the catalog UI (in [Azure AI Foundry](https://aka.ms/healthcaremodelstudio) or [Azure Machine Learning studio](https://ml.azure.com/model/catalog)) or deploy programmatically.
44+
## Deploy the model to a managed compute
45+
46+
Deployment to a self-hosted managed inference solution allows you to customize and control all the details about how the model is served. You can deploy the model from its model card in the catalog UI of [Azure AI Foundry](https://aka.ms/healthcaremodelstudio) or [Azure Machine Learning studio](https://ml.azure.com/model/catalog) or [deploy it programmatically](../deploy-models-managed.md).
4547

4648
To __deploy the model through the UI__:
4749

48-
1. Go to the catalog.
49-
1. Search for _CxrReportGen_ and select the model card.
50+
1. Go to the model catalog.
51+
1. Search for the _CxrReportGen_ model and select its model card.
5052
1. On the model's overview page, select __Deploy__.
5153
1. If given the option to choose between serverless API deployment and deployment using a managed compute, select **Managed Compute**.
5254
1. Fill out the details in the deployment window.
@@ -68,14 +70,14 @@ Consume the CXRReportGen report generation model as a REST API, using simple GET
6870

6971
```python
7072
from azure.ai.ml import MLClient
71-
from azure.identity import DeviceCodeCredential
73+
from azure.identity import DefaultAzureCredential
7274

7375
credential = DefaultAzureCredential()
7476

7577
ml_client_workspace = MLClient.from_config(credential)
7678
```
7779

78-
In the deployment configuration, you get to choose the authentication method. This example uses Azure Machine Learning token-based authentication. For more authentication options, see the [corresponding documentation page](../../../machine-learning/how-to-setup-authentication.md). Also, note that the client is created from a configuration file that is created automatically for Azure Machine Learning virtual machines (VMs). Learn more on the [corresponding API documentation page](/python/api/azure-ai-ml/azure.ai.ml.mlclient#azure-ai-ml-mlclient-from-config).
80+
In the deployment configuration, you get to choose an authentication method. This example uses Azure Machine Learning token-based authentication. For more authentication options, see the [corresponding documentation page](../../../machine-learning/how-to-setup-authentication.md). Also, the client is created from a configuration file that is created automatically for Azure Machine Learning virtual machines (VMs). Learn more on the [corresponding API documentation page](/python/api/azure-ai-ml/azure.ai.ml.mlclient#azure-ai-ml-mlclient-from-config).
7981

8082
### Make basic calls to the model
8183

@@ -205,4 +207,4 @@ CXRReportGen is a versatile model that can be applied to a wide range of tasks a
205207
## Related content
206208

207209
* [MedImageParse models for medical image segmentation](deploy-medimageparse.md)
208-
* [MedImageInsight for grounded report generation](deploy-medimageinsight.md)
210+
* [MedImageInsight for grounded report generation](deploy-medimageinsight.md)

articles/ai-foundry/how-to/healthcare-ai/deploy-medimageinsight.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,20 @@ An embedding model is capable of serving as the basis of many different solution
3333

3434
## Prerequisites
3535

36-
To use the MedImageInsight model, you need the following prerequisites:
36+
- An Azure subscription with a valid payment method. Free or trial Azure subscriptions won't work. If you don't have an Azure subscription, create a [paid Azure account](https://azure.microsoft.com/pricing/purchase-options/pay-as-you-go) to begin.
3737

38-
### A model deployment
38+
- An [Azure AI Foundry project](../create-projects.md).
3939

40-
**Deployment to a self-hosted managed compute**
40+
- Azure role-based access controls (Azure RBAC) are used to grant access to operations in Azure AI Foundry portal. To perform the steps in this article, your user account must be assigned the __Azure AI Developer role__ on the resource group. For more information on permissions, see [Role-based access control in Azure AI Foundry portal](../../concepts/rbac-ai-foundry.md).
4141

42-
MedImageInsight model can be deployed to our self-hosted managed inference solution, which allows you to customize and control all the details about how the model is served. You can deploy the model through the catalog UI (in [Azure AI Foundry](https://aka.ms/healthcaremodelstudio) or [Azure Machine Learning studio](https://ml.azure.com/model/catalog)) or deploy programmatically.
42+
## Deploy the model to a managed compute
43+
44+
Deployment to a self-hosted managed inference solution allows you to customize and control all the details about how the model is served. You can deploy the model from its model card in the catalog UI of [Azure AI Foundry](https://aka.ms/healthcaremodelstudio) or [Azure Machine Learning studio](https://ml.azure.com/model/catalog) or [deploy it programmatically](../deploy-models-managed.md).
4345

4446
To __deploy the model through the UI__:
4547

46-
1. Go to the catalog.
47-
1. Search for _MedImageInsight_ and select the model card.
48+
1. Go to the model catalog.
49+
1. Search for the _MedImageInsight_ model and select its model card.
4850
1. On the model's overview page, select __Deploy__.
4951
1. If given the option to choose between serverless API deployment and deployment using a managed compute, select **Managed Compute**.
5052
1. Fill out the details in the deployment window.
@@ -66,14 +68,14 @@ Consume the MedImageInsight embedding model as a REST API, using simple GET requ
6668

6769
```python
6870
from azure.ai.ml import MLClient
69-
from azure.identity import DeviceCodeCredential
71+
from azure.identity import DefaultAzureCredential
7072

7173
credential = DefaultAzureCredential()
7274

7375
ml_client_workspace = MLClient.from_config(credential)
7476
```
7577

76-
In the deployment configuration, you get to choose the authentication method. This example uses Azure Machine Learning token-based authentication. For more authentication options, see the [corresponding documentation page](../../../machine-learning/how-to-setup-authentication.md). Also, note that the client is created from a configuration file that is created automatically for Azure Machine Learning virtual machines (VMs). Learn more on the [corresponding API documentation page](/python/api/azure-ai-ml/azure.ai.ml.mlclient#azure-ai-ml-mlclient-from-config).
78+
In the deployment configuration, you get to choose an authentication method. This example uses Azure Machine Learning token-based authentication. For more authentication options, see the [corresponding documentation page](../../../machine-learning/how-to-setup-authentication.md). Also, the client is created from a configuration file that is created automatically for Azure Machine Learning virtual machines (VMs). Learn more on the [corresponding API documentation page](/python/api/azure-ai-ml/azure.ai.ml.mlclient#azure-ai-ml-mlclient-from-config).
7779

7880
### Make basic calls to the model
7981

@@ -238,4 +240,4 @@ MedImageInsight is a versatile model that can be applied to a wide range of task
238240
## Related content
239241

240242
* [MedImageParse models for medical image segmentation](deploy-medimageparse.md)
241-
* [CXRReportGen for grounded report generation](./deploy-cxrreportgen.md)
243+
* [CXRReportGen for grounded report generation](./deploy-cxrreportgen.md)

articles/ai-foundry/how-to/healthcare-ai/deploy-medimageparse.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ In this article, you learn how to deploy prompt-based image segmentation models,
2626

2727
# [MedImageParse](#tab/medimageparse)
2828

29+
## MedImageParse
30+
2931
Biomedical image analysis is crucial for discovery in fields like cell biology, pathology, and radiology. Traditionally, tasks such as segmentation, detection, and recognition of relevant objects are addressed separately, which can limit the overall effectiveness of image analysis. However, MedImageParse unifies these tasks through image parsing, by jointly conducting segmentation, detection, and recognition across numerous object types and imaging modalities. By applying the interdependencies among these subtasks—such as the semantic labels of segmented objects—the model enhances accuracy and enables novel applications. For example, it allows users to segment all relevant objects in an image, by using a simple text prompt. This approach eliminates the need to manually specify bounding boxes for each object.
3032

3133
The following image shows the conceptual architecture of the MedImageParse model where an image embedding model is augmented with a task adaptation layer to produce segmentation masks and textual descriptions.
@@ -199,10 +201,12 @@ MedImageParse and MedImageParse 3D models assume a simple single-turn interactio
199201

200202
### Request schema
201203

202-
# [MedImageParse](#tab/medimageparse)
204+
203205

204206
Request payload is a JSON formatted string containing the following parameters:
205207

208+
# [MedImageParse](#tab/medimageparse)
209+
206210
| Key | Type | Required/Default | Description |
207211
| ------------- | -------------- | :-----------------:| ----------------- |
208212
| `input_data` | `[object]` | Y | An object containing the input data payload |
@@ -235,7 +239,7 @@ The `input_data` object contains the following fields:
235239

236240
# [MedImageParse](#tab/medimageparse)
237241

238-
**Requesting segmentation of all cells in a pathology image**
242+
**Requesting segmentation of all cells in a pathology image**
239243

240244
```JSON
241245
{
@@ -311,7 +315,7 @@ The response is a list of objects. Each object contains the segmentation result
311315

312316
# [MedImageParse](#tab/medimageparse)
313317

314-
**A simple inference requesting segmentation of two objects**
318+
**Response to a simple inference requesting segmentation of two objects**
315319

316320
```JSON
317321
[
@@ -431,4 +435,4 @@ MedImageParse is a versatile model that can be applied to a wide range of tasks
431435
## Related content
432436

433437
* [CXRReportGen for grounded report generation](deploy-cxrreportgen.md)
434-
* [MedImageInsight for grounded report generation](deploy-medimageinsight.md)
438+
* [MedImageInsight for grounded report generation](deploy-medimageinsight.md)

0 commit comments

Comments
 (0)