Skip to content

Commit 082ae1d

Browse files
committed
[cherry-pick] update ppchatocr doc (#3477)
* fix * update * update * update
1 parent 33d45fd commit 082ae1d

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

docs/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v3.en.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,11 @@ Below are the API references for basic serving and multi-language service invoca
16141614
<td>Key information extraction result.</td>
16151615
</tr>
16161616
</tbody>
1617-
</table></details>
1617+
</table>
1618+
<li><b>Note:</b></li>
1619+
Including sensitive parameters such as API key for large model calls in the request body can be a security risk. If not necessary, set these parameters in the configuration file and do not pass them on request.
1620+
<br/><br/>
1621+
</details>
16181622
<details><summary>Multi-language Service Invocation Examples</summary>
16191623
<details>
16201624
<summary>Python</summary>
@@ -1690,6 +1694,7 @@ print("Final result:")
16901694
print(result_chat["chatResult"])
16911695
</code></pre>
16921696
</details>
1697+
</details>
16931698
<br/>
16941699

16951700
📱 **Edge Deployment**: Edge deployment is a method where computing and data processing functions are placed on the user's device itself, allowing the device to process data directly without relying on remote servers. PaddleX supports deploying models on edge devices such as Android. For detailed instructions on edge deployment, please refer to the [PaddleX Edge Deployment Guide](../../../pipeline_deploy/edge_deploy.md).

docs/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v3.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,11 @@ for res in visual_predict_res:
16181618
<td>关键信息抽取结果。</td>
16191619
</tr>
16201620
</tbody>
1621-
</table></details>
1621+
</table>
1622+
<li><b>注意:</b></li>
1623+
在请求体中包含大模型调用的API key等敏感参数可能存在安全风险。如无必要,请在配置文件中设置这些参数,在请求时不传递。
1624+
<br/><br/>
1625+
</details>
16221626
<details><summary>多语言调用服务示例</summary>
16231627
<details>
16241628
<summary>Python</summary>
@@ -1694,6 +1698,7 @@ print("Final result:")
16941698
print(result_chat["chatResult"])
16951699
</code></pre>
16961700
</details>
1701+
</details>
16971702
<br/>
16981703

16991704
📱 <b>端侧部署</b>:端侧部署是一种将计算和数据处理功能放在用户设备本身上的方式,设备可以直接处理数据,而不需要依赖远程的服务器。PaddleX 支持将模型部署在 Android 等端侧设备上,详细的端侧部署流程请参考[PaddleX端侧部署指南](../../../pipeline_deploy/edge_deploy.md)

docs/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v4.en.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,11 @@ Below are the API references for basic serving and multi-language service invoca
18461846
<td>HTML prompts.</td>
18471847
</tr>
18481848
</tbody>
1849-
</table></details>
1849+
</table>
1850+
<li><b>Note:</b></li>
1851+
Including sensitive parameters such as API key for large model calls in the request body can be a security risk. If not necessary, set these parameters in the configuration file and do not pass them on request.
1852+
<br/><br/>
1853+
</details>
18501854

18511855
<details><summary>Multi-language Service Invocation Examples</summary>
18521856

docs/pipeline_usage/tutorials/information_extraction_pipelines/document_scene_information_extraction_v4.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2010,7 +2010,11 @@ for res in visual_predict_res:
20102010
<td>关键信息抽取结果。</td>
20112011
</tr>
20122012
</tbody>
2013-
</table></details>
2013+
</table>
2014+
<li><b>注意:</b></li>
2015+
在请求体中包含大模型调用的API key等敏感参数可能存在安全风险。如无必要,请在配置文件中设置这些参数,在请求时不传递。
2016+
<br/><br/>
2017+
</details>
20142018

20152019
<details><summary>多语言调用服务示例</summary>
20162020

0 commit comments

Comments
 (0)