Curranj commited on
Commit
529ef05
·
verified ·
1 Parent(s): 21e989d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 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: {message} A: "
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