Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用报错Error communicating with OpenAI #8

Open
zhengxiuguang123 opened this issue Dec 1, 2023 · 2 comments
Open

使用报错Error communicating with OpenAI #8

zhengxiuguang123 opened this issue Dec 1, 2023 · 2 comments

Comments

@zhengxiuguang123
Copy link

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
Copy link

请问能解决吗

@HaoBytes
Copy link

same issue. have you sorted it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants