關閉工作人員的檔案上載
如果您不想讓工作人員能夠再接收檔案,請關閉工作人員層級的檔案上載功能。
必要版本
| 提供版本:Lightning Experience |
| 提供版本:Enterprise、Performance、Unlimited 及 Developer Edition。所需附加元件授權會因工作人員類型而有所不同。 |
| 所需的使用者權限 | |
|---|---|
| 若要關閉 AI 工作人員的檔案上載: | 管理 AI 工作人員和工作人員類型的必要權限 |
- 從 Agentforce Studio 應用程式的「工作人員」清單中,開啟您不再接收檔案上載的工作人員。
- 如果您在畫布檢視中檢視工作人員,請切換至「指令檔」檢視。
-
在您工作人員的組態區塊中,新增
file_upload欄位,並指定disabled或error的mode值。disabled—檔案上載會靜音關閉。如果使用者嘗試附加檔案,上載會失敗,且對話會繼續,且不會顯示錯誤訊息。不會儲存檔案。config: developer_name: "Support_Agent" agent_label: "Customer Support Agent" file_upload: mode: "disabled"error—檔案上載已關閉。如果使用者嘗試附加檔案,工作人員會傳送錯誤訊息。使用選用的訊息欄位定義錯誤訊息。不會儲存檔案。config: developer_name: "Support_Agent" agent_label: "Customer Support Agent" file_upload: mode: "error" message: "Sorry, I can't accept files. Is there something else I can help you with?"
- 儲存您的變更。
- 若要確認工作人員的檔案上載已關閉,請在 Agentforce Builder 中開始預覽對話並傳送檔案。
此文章是否解決您的問題?
請讓我們知道,以便我們改進!
