nanoPerplexityAI
nanoPerplexityAI copied to clipboard
module 'openai' has no attribute 'OpenAI'
Traceback (most recent call last):
File "C:\Users\U0048328\OneDrive - BBA\Desktop\AI-COP\AI-Search-Engine\nanoPerplexityAI-main\nanoPerplexityAI.py", line 65, in
The official OpenAI documentation does not include the class client = openai.OpenAI(api_key=OPENAI_API_KEY). What version of OpenAI is this?
Hi speakstone,
As of now, my current openai version is 1.35.13 Have you checked this doc? I believe openai.OpenAI() exists.