File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 22
33[ ![ PyPI version] ( https://img.shields.io/pypi/v/zai-sdk.svg )] ( https://pypi.org/project/zai-sdk/ )
44[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
5- [ ![ Python] ( https://img.shields.io/badge/python-3.9 +-blue.svg )] ( https://www.python.org/downloads/ )
5+ [ ![ Python] ( https://img.shields.io/badge/python-3.8 +-blue.svg )] ( https://www.python.org/downloads/ )
66
77[ 中文文档] ( README_CN.md ) | English
88
@@ -121,7 +121,7 @@ client = ZaiClient(
121121 base_url = " https://api.z.ai/api/paas/v4/" # Optional
122122)
123123
124- # if you want to use ZhipuAiClient
124+ # if you want to use Zhipu's domain service
125125zhipu_client = ZhipuAiClient(
126126 api_key = " your-api-key" ,
127127 base_url = " https://open.bigmodel.cn/api/paas/v4/" # Optional
Original file line number Diff line number Diff line change 22
33[ ![ PyPI version] ( https://img.shields.io/pypi/v/zai-sdk.svg )] ( https://pypi.org/project/zai-sdk/ )
44[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
5- [ ![ Python] ( https://img.shields.io/badge/python-3.9 +-blue.svg )] ( https://www.python.org/downloads/ )
5+ [ ![ Python] ( https://img.shields.io/badge/python-3.8 +-blue.svg )] ( https://www.python.org/downloads/ )
66
77[ English Readme] ( README.md )
88
4747## 📦 安装
4848
4949### 环境要求
50- - Python 3.9 或更高版本
50+ - Python 3.8 或更高版本
5151- pip 包管理器
5252
5353### 使用 pip 安装
@@ -102,7 +102,7 @@ client = ZaiClient(
102102 base_url = " https://api.z.ai/api/paas/v4/" # 可选
103103)
104104
105- # if you want to use ZhipuAiClient
105+ # 如果你想使用智谱的域名
106106zhipu_client = ZhipuAiClient(
107107 api_key = " your_api_key_here" , # 填写您的 APIKey
108108 base_url = " https://open.bigmodel.cn/api/paas/v4/" # 可选
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " zai-sdk"
3- version = " 0.0.1b4 "
3+ version = " 0.0.1 "
44description = " A SDK library for accessing big model apis from Z.ai"
55authors = [" Z.ai" ]
66readme = " README.md"
Original file line number Diff line number Diff line change 11__title__ = 'Z.ai'
2- __version__ = '0.0.1b4 '
2+ __version__ = '0.0.1 '
You can’t perform that action at this time.
0 commit comments