Closed youzipi closed 1 month ago
Update to gptpdf==0.0.13
版本已升级至0.0.13,使用parse_pdf,还是这个错误:
2024-07-12 12:06:53,818 - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 400 Bad Request"
2024-07-12 12:06:53,822 - ERROR - Error code: 400 - {'error': {'code': 'invalid_parameter_error', 'param': None, 'message': 'Range of max_tokens should be [1, 1500]', 'type': 'invalid_request_error'}, 'id': 'chatcmpl-d479aeb6-489a-9d6f-8ed9-164a106146e8'}
版本已升级至0.0.13,使用parse_pdf,还是这个错误:
2024-07-12 12:06:53,818 - INFO - HTTP Request: POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions "HTTP/1.1 400 Bad Request" 2024-07-12 12:06:53,822 - ERROR - Error code: 400 - {'error': {'code': 'invalid_parameter_error', 'param': None, 'message': 'Range of max_tokens should be [1, 1500]', 'type': 'invalid_request_error'}, 'id': 'chatcmpl-d479aeb6-489a-9d6f-8ed9-164a106146e8'}
这个报错显示你的max_token超量了。
not work with
qwen-vl-max
as provide not supported param:temperature
code:
error:
error location: