thunlp / ChatEval

Codes for our paper "ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debate"
Apache License 2.0
232 stars 14 forks source link

使用报错Error communicating with OpenAI #8

Open zhengxiuguang123 opened 11 months ago

zhengxiuguang123 commented 11 months ago

UserWarning: Importing OpenAI from langchain root module is no longer supported. Please use langchain.llms.OpenAI instead. UserWarning: Importing PromptTemplate from langchain root module is no longer supported. Please use langchain.prompts.PromptTemplate instead. UserWarning: Importing SerpAPIWrapper from langchain root module is no longer supported. Please use langchain.utilities.SerpAPIWrapper instead. warnings.warn( Namespace(task='llm_eval/multi_role/only_static_assign/faireval/two_turns_sequential/two_different_role/calc_score_comparison/gpt_35_0301', data_path='./agentverse/tasks/llm_eval/data/faireval/preprocessed_data/test.json', output_dir='./outputs/llm_eval/multi_role/only_static_assign/faireval/two_turns_sequential/two_different_role/calc_score_comparison/gpt_35_0301', reverse_input=False) ================================instance 0==================================== 12/01/2023 17:14:50 - ERROR - root - Error communicating with OpenAI 12/01/2023 17:14:50 - WARNING - root - Retrying... 12/01/2023 17:14:52 - ERROR - root - Error communicating with OpenAI 12/01/2023 17:14:52 - WARNING - root - Retrying... 12/01/2023 17:14:54 - ERROR - root - Error communicating with OpenAI 12/01/2023 17:14:54 - WARNING - root - Retrying... 12/01/2023 17:14:54 - ERROR - root - After 3 failed try, end the loop 12/01/2023 17:14:54 - ERROR - root - General Public failed to generate valid response. 12/01/2023 17:14:54 - INFO - root - General Public:

请问这是什么原因

bobzhang208 commented 9 months ago

请问能解决吗

HaoBytes commented 7 months ago

same issue. have you sorted it?