
chat = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0.9,openai_api_key=" ")
index.query("뉴진스의 구성원 수는?", llm=chat,verbose=False)
22 frames
AttributeError Traceback (most recent call last)
<ipython-input-15-53aebebfc98a> in <cell line: 2>()
1 chat = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0.9,openai_api_key="")
----> 2 index.query("뉴진스의 구성원 수는?", llm=chat,verbose=False)
22 frames
/usr/local/lib/python3.10/dist-packages/langchain/chat_models/openai.py in _create_retry_decorator(self)
AttributeError: module 'openai' has no attribute 'error' 라고 에러가 발생하는데 chatgpt 혹은 다른 ai prompt에서 에러발생 원인을 문의 했으나 미해결 됨
제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
