Curranj commited on
Commit
94354f2
·
1 Parent(s): 48733f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ def context_gpt_response(question):
75
  prep = f"This is an OpenAI model tuned to answer questions specific to the Qualia Research institute, a research institute that focuses on consciousness. Here is some question-specific context, and then the Question to answer, related to consciousness, the human experience, and phenomenology: {context}. Here is a question specific to QRI and consciousness in general Q: {question} A: "
76
  # Generate an answer
77
  response = openai.Completion.create(
78
- engine="text-davinci-003",
79
  prompt=prep,
80
  temperature=0.7,
81
  max_tokens=220,
 
75
  prep = f"This is an OpenAI model tuned to answer questions specific to the Qualia Research institute, a research institute that focuses on consciousness. Here is some question-specific context, and then the Question to answer, related to consciousness, the human experience, and phenomenology: {context}. Here is a question specific to QRI and consciousness in general Q: {question} A: "
76
  # Generate an answer
77
  response = openai.Completion.create(
78
+ engine="gpt-4",
79
  prompt=prep,
80
  temperature=0.7,
81
  max_tokens=220,