Spaces:
Running
Running
Update app.py
Browse files
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="
|
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,
|