You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-> <module 'openai.error' from '/usr/local/lib/python3.10/site-packages/openai/error.py'>
openai.error.APIConnectionError: Error communicating with OpenAI
Entering new ConversationChain chain...
[2024-03-07 22:29:57.221351] [INFO process-9-140461729638080 bisheng.api.v1.callback:309] - trace=None Prompt after formatting:
The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.
Current conversation:
Human: 你是谁
AI:
Prompt after formatting:
The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.
Current conversation:
Human: 你是谁
AI:
[2024-03-07 22:29:57.227126] [DEBUG process-9-140461729638080 bisheng.api.v1.callback:306] - trace=None on_chat result=[[HumanMessage(content='The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI
does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n\nHuman: 你是谁\nAI:')]]
[2024-03-07 22:29:57.233682] [DEBUG process-9-140461729638080 openai.util:60] - trace=None message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
[2024-03-07 22:29:57.235616] [DEBUG process-9-140461729638080 openai.util:60] - trace=None api_version=None data='{"messages": [{"role": "user", "content": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context.
If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n\nHuman: \u4f60\u662f\u8c01\nAI:"}], "model": "gpt-3.5-turbo-16k-0613", "stream": true, "n": 1, "temperature": 0.7}' message='Post details'
[2024-03-07 22:29:57.240239] [DEBUG process-9-140461729638080 urllib3.util.retry:282] - trace=None Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
[2024-03-07 22:29:57.244441] [DEBUG process-9-140461729638080 urllib3.connectionpool:1055] - trace=None Starting new HTTPS connection (1): api.openai.com:443
[2024-03-07 22:29:57.314024] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:58.424105] [DEBUG process-9-140461729638080 urllib3.connectionpool:549] - trace=None https://api.openai.com:443 "POST /v1/chat/completions HTTP/1.1" 200 None
[2024-03-07 22:29:58.427627] [DEBUG process-9-140461729638080 openai.util:60] - trace=None message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=239 request_id=req_f938ec6f8f35653fd74051e0f34e53bc response_code=200
[2024-03-07 22:29:58.781327] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:59.317093] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:59.377328] [DEBUG process-9-140461729638080 bisheng.api.v1.callback:291] - trace=None on_chain_end outputs={'response': '我是一个AI助手,被称为GPT-3。我是由OpenAI开发的人工智能模型。我可以回答各种问题,提供信息和建议。请问有什么我可以帮助你的吗?'}
** 网络梯子部署OK的,容器内访问Openapi网址也没有问题的。详情日志见附件
[2024-03-07 22:29:53.307336] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:54.773729] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:55.310765] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:56.777467] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:57.104199] [ERROR process-9-140461729638080 bisheng.processing.base:32] - trace=None Error communicating with OpenAITraceback (most recent call last):
error.txt
[2024-03-07 22:29:57.218992] [DEBUG process-9-140461729638080 bisheng.api.v1.callback:287] - trace=None on_chain_start inputs={'input': '你是谁', 'history': ''}
Prompt after formatting:
The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI does not know the answer to a question, it truthfully says it does not know.
Current conversation:
Human: 你是谁
AI:
[2024-03-07 22:29:57.227126] [DEBUG process-9-140461729638080 bisheng.api.v1.callback:306] - trace=None on_chat result=[[HumanMessage(content='The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context. If the AI
does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n\nHuman: 你是谁\nAI:')]]
[2024-03-07 22:29:57.233682] [DEBUG process-9-140461729638080 openai.util:60] - trace=None message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions
[2024-03-07 22:29:57.235616] [DEBUG process-9-140461729638080 openai.util:60] - trace=None api_version=None data='{"messages": [{"role": "user", "content": "The following is a friendly conversation between a human and an AI. The AI is talkative and provides lots of specific details from its context.
If the AI does not know the answer to a question, it truthfully says it does not know.\n\nCurrent conversation:\n\nHuman: \u4f60\u662f\u8c01\nAI:"}], "model": "gpt-3.5-turbo-16k-0613", "stream": true, "n": 1, "temperature": 0.7}' message='Post details'
[2024-03-07 22:29:57.240239] [DEBUG process-9-140461729638080 urllib3.util.retry:282] - trace=None Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
[2024-03-07 22:29:57.244441] [DEBUG process-9-140461729638080 urllib3.connectionpool:1055] - trace=None Starting new HTTPS connection (1): api.openai.com:443
[2024-03-07 22:29:57.314024] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:58.424105] [DEBUG process-9-140461729638080 urllib3.connectionpool:549] - trace=None https://api.openai.com:443 "POST /v1/chat/completions HTTP/1.1" 200 None
[2024-03-07 22:29:58.427627] [DEBUG process-9-140461729638080 openai.util:60] - trace=None message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=239 request_id=req_f938ec6f8f35653fd74051e0f34e53bc response_code=200
[2024-03-07 22:29:58.781327] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:59.317093] [INFO process-9-140465245408128 bisheng.utils.threadpool:99] - trace=None async_wait_count=1
[2024-03-07 22:29:59.377328] [DEBUG process-9-140461729638080 bisheng.api.v1.callback:291] - trace=None on_chain_end outputs={'response': '我是一个AI助手,被称为GPT-3。我是由OpenAI开发的人工智能模型。我可以回答各种问题,提供信息和建议。请问有什么我可以帮助你的吗?'}
The text was updated successfully, but these errors were encountered: