mohammed3536 commited on
Commit
d40ba90
·
verified ·
1 Parent(s): 1cf91ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def generate_question_with_chatgpt(context):
51
  }
52
 
53
  # Replace the line below with the appropriate method from the LangChain OpenAI wrapper
54
- response = openai.some_method(data)
55
 
56
  result = response.json()
57
 
 
51
  }
52
 
53
  # Replace the line below with the appropriate method from the LangChain OpenAI wrapper
54
+ response = openai.chatcompletion.create(data)
55
 
56
  result = response.json()
57