gufett0 commited on
Commit
170f218
·
1 Parent(s): 2c6a0aa

added introductory prompt

Browse files
Files changed (1) hide show
  1. backend.py +2 -3
backend.py CHANGED
@@ -105,14 +105,13 @@ def handle_query(query_str: str,
105
  ]
106
  )
107
  index = build_index("data/chiarimento.txt")
108
-
109
-
110
 
111
  else:
112
 
113
 
114
  # The index is already built, no need to rebuild it.
115
- conversation: List[ChatMessage] = []
116
  for user, assistant in chat_history:
117
  conversation.extend(
118
  [
 
105
  ]
106
  )
107
  index = build_index("data/chiarimento.txt")
108
+
 
109
 
110
  else:
111
 
112
 
113
  # The index is already built, no need to rebuild it.
114
+ #conversation: List[ChatMessage] = []
115
  for user, assistant in chat_history:
116
  conversation.extend(
117
  [