File “/data/dataplatform/knowledgedb/release/virtualityenv/lib/python3.9/site-packages/zhipuai/api_resource/embeddings.py”, line 35, in create
return self._post(
File “/data/dataplatform/knowledgedb/release/virtualityenv/lib/python3.9/site-packages/zhipuai/core/_http_client.py”, line 292, in post
return self.request(
File “/data/dataplatform/knowledgedb/release/virtualityenv/lib/python3.9/site-packages/zhipuai/core/_http_client.py”, line 251, in request
raise self._make_status_error(err.response) from None
zhipuai.core._errors.APIAuthenticationError: Error code: 401, with error text {“error”:{“code”:“1003”,“message”:“Authorization Token已过期,请重新生成/获取。”}}
确认一下urilb3这个库和你的jwt有没有对,1分钟要重新鉴权一次,如果是pysdk是直接没有问题的
谢谢我来看看版本对不对
我的qq是58624951,能加我一下吗,我把版本设置成一样,还是不对