jozzy commited on
Commit
2ccdd3b
·
1 Parent(s): 2ac681c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def roleChoice(role):
108
  def talk2file(index_name, text):
109
  #disable the global message
110
  #global messages
111
- messages = []
112
 
113
  #same as filesearch
114
  init_pinecone()
 
108
  def talk2file(index_name, text):
109
  #disable the global message
110
  #global messages
111
+ messages = [{"role": "system", "content": 'You are a helpful assistant.'}]
112
 
113
  #same as filesearch
114
  init_pinecone()