From 3aa6172211e205a3fd175d55555f12bac81577da Mon Sep 17 00:00:00 2001 From: p18457032 Date: Fri, 19 Jul 2024 17:38:57 +0800 Subject: [PATCH] Full --- quick_start_clean/readmes/quick_start.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quick_start_clean/readmes/quick_start.md b/quick_start_clean/readmes/quick_start.md index 896ab0a..295128b 100644 --- a/quick_start_clean/readmes/quick_start.md +++ b/quick_start_clean/readmes/quick_start.md @@ -495,7 +495,9 @@ INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) 2. 调用API: 启动服务端成功后,重新打开一个终端,可参考执行以下python脚本: + ``` python +# client.py from openai import OpenAI # 如果启动服务时指定了api密钥,需要修改为对应的密钥,否则为"EMPTY" openai_api_key = "CPMAPI"