Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def predict(message, history):
|
|
44 |
context += str(match[0])
|
45 |
context = context[:1500] # Limit context length
|
46 |
|
47 |
-
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
|
48 |
|
49 |
messages = []
|
50 |
# Convert history to the expected format
|
|
|
44 |
context += str(match[0])
|
45 |
context = context[:1500] # Limit context length
|
46 |
|
47 |
+
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 are some question-specific passages selected that may or may not be useful in answering user queries. Here is the user query to answer, potentially related to consciousness, the human experience, and phenomenology: {context}. Here is a question specific to QRI and consciousness in general Q: {message} A: "
|
48 |
|
49 |
messages = []
|
50 |
# Convert history to the expected format
|