dashscope库的安装
pip install -i https://mirrors.aliyun.com/pypi/simple dashscope
阿里云打开的详细步骤
百度输入 灵积模型服务,

然后

然后



往下翻,

再然后开通API-key


修改代码中的密钥部分

修改为:


dashscope库的安装
pip install -i https://mirrors.aliyun.com/pypi/simple dashscope
阿里云打开的详细步骤
百度输入 灵积模型服务,
然后
然后
往下翻,
再然后开通API-key
修改代码中的密钥部分
修改为: