You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/prompt-flow/tools-reference/troubleshoot-guidance.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ There are possible reasons for this issue:
69
69
70
70
:::image type="content" source="../media/faq/storage-account-networking-firewall.png" alt-text="Screenshot that shows firewall setting on storage account." lightbox = "../media/faq/storage-account-networking-firewall.png":::
71
71
72
-
- There are some cases, the account key in data store is out of sync with the storage account, you can try to update the account key in data store detail page to fix this.
72
+
- There are some cases. The account key in data store is out of sync with the storage account, you can try to update the account key in data store detail page to fix this.
73
73
74
74
:::image type="content" source="../media/faq/datastore-with-wrong-account-key.png" alt-text="Screenshot that shows datastore with wrong account key." lightbox = "../media/faq/datastore-with-wrong-account-key.png":::
75
75
@@ -185,17 +185,17 @@ Follow these steps to find Python packages installed in compute instance runtime
185
185
186
186
#### CI (Compute instance) runtime start failure using custom environment
187
187
188
-
To use promptflow as runtime on CI, you need use the base image provide by promptflow. If you want to add extra packages to the base image, you need follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create a new environment. Then use it to create CI runtime.
188
+
To use prompt flow as runtime on CI, you need to use the base image provide by prompt flow. If you want to add extra packages to the base image, you need to follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create a new environment. Then use it to create CI runtime.
189
189
190
-
If you got `UserError: FlowRuntime on compute instance isnot ready`, you need login into to terminal of CIand run `journalctl -u c3-progenitor.serivice` to check the logs.
190
+
If you got `UserError: FlowRuntime on compute instance isnot ready`, you need sign-in into to terminal of CIand run `journalctl -u c3-progenitor.serivice` to check the logs.
191
191
192
192
#### Automatic runtime start failure with requirements.txt or custom base image
193
193
194
-
Automatic runtime support to use `requirements.txt`or custom base image in`flow.dag.yaml` to customize the image. We would recommend you to use `requirements.txt`for common case, which will use `pip install -r requirements.txt` to install the packages. If you have dependency more then python packages, you need follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create build a new image base on top of promptflow base image. Then use it in`flow.dag.yaml`. Learn more about [Customize environment with Docker context for runtime](../how-to-create-manage-runtime.md#update-an-automatic-runtime-preview-on-a-flow-page).
194
+
Automatic runtime support to use `requirements.txt`or custom base image in`flow.dag.yaml` to customize the image. We would recommend you to use `requirements.txt`for common case, which will use `pip install -r requirements.txt` to install the packages. If you have dependency more then python packages, you need to follow the [Customize environment with Docker context for runtime](../how-to-customize-environment-runtime.md) to create build a new image base on top of prompt flow base image. Then use it in`flow.dag.yaml`. Learn more about [Customize environment with Docker context for runtime](../how-to-create-manage-runtime.md#update-an-automatic-runtime-preview-on-a-flow-page).
195
195
196
-
- You can notuse arbitrary base image to create runtime, you need use the base image provide by promptflow.
196
+
- You cannot use arbitrary base image to create runtime, you need to use the base image provide by prompt flow.
197
197
- Don't pin the version of `promptflow` and `promptflow-tools` in `requirements.txt`, because we already include them in the runtime base image. Using old version of `promptflow` and `promptflow-tools` may cause unexpected behavior.
198
-
=======
198
+
199
199
## Flow run related issues
200
200
201
201
### How to find the raw inputs and outputs of in LLM tool for further investigation?
@@ -213,3 +213,19 @@ In prompt flow, on flow page with successful run and run detail page, you can fi
213
213
You may encounter 409 error from Azure OpenAI, it means you have reached the rate limit of Azure OpenAI. You can check the error message in the output section of LLM node. Learn more about [Azure OpenAI rate limit](../../../ai-services/openai/quotas-limits.md).
214
214
215
215
:::image type="content"source="../media/faq/429-rate-limit.png" alt-text="Screenshot that shows 429 rate limit error from Azure OpenAI."lightbox="../media/faq/429-rate-limit.png":::
216
+
217
+
## Authentication and identity related issues
218
+
219
+
### How do I use credential-less data store in prompt flow?
220
+
221
+
You can follow [Identity-based data authentication](../../how-to-administrate-data-authentication.md#identity-based-data-authentication) this part to make your data store credential-less.
222
+
223
+
To use credential-less data store in prompt flow, you need to grand enough permissions to user identity or managed identity to access the data store.
224
+
- If you're using user identity this default option in prompt flow, you need to make sure the user identity has following role on the storage account:
225
+
-`Storage Blob Data Contributor` on the storage account, at least need read/write (better have delete) permission.
226
+
-`Storage File Data Privileged Contributor` on the storage account, at least need read/write (better have delete) permission
227
+
- If you're using user assigned managed identity, you need to make sure the managed identity has following role on the storage account:
228
+
-`Storage Blob Data Contributor` on the storage account, at least need read/write (better have delete) permission.
229
+
-`Storage File Data Privileged Contributor` on the storage account, at least need read/write (better have delete) permission
230
+
- Meanwhile, you need to assign user identity `Storage Blob Data Read` role to storage account, if your want use prompt flow to authoring and test flow.
0 commit comments