openai-scf-proxy icon indicating copy to clipboard operation
openai-scf-proxy copied to clipboard

python使用方式

Open yxn4065 opened this issue 1 year ago • 3 comments

  1. 复制访问路径
  2. 添加代码

openai.api_base = "https://xxxxxxxx.usw.apigw.tencentcs.com/v1"

创建函数时服务器建议选择openai支持的地区

yxn4065 avatar Mar 10 '23 06:03 yxn4065

  1. 复制访问路径
  2. 添加代码

openai.api_base = "https://xxxxxxxx.usw.apigw.tencentcs.com/v1"

创建函数时服务器建议选择openai支持的地区

thank you very much!

hellodannyliu avatar Mar 12 '23 05:03 hellodannyliu

thank you very much!,it helps for me. ~~before adding "v1“ ,i get Invalid URL error.~~ But i want to know why we must append "v1" to the proxy address?

BebopChain avatar Apr 01 '23 01:04 BebopChain

有效果了,感谢大佬

LiangNorth avatar Apr 05 '23 03:04 LiangNorth