Namitg02 commited on
Commit
e3a5112
·
verified ·
1 Parent(s): 0a1accf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def format_prompt(prompt,retrieved_documents,k,history,memory_limit=3):
74
  PROMPT = f"Question:{prompt}\nContext:"
75
  for idx in range(k) :
76
  PROMPT+= f"{retrieved_documents['0'][idx]}\n"
77
- print(historyinfo)
78
  print(history)
79
  if len(history) == 0:
80
  return PROMPT
 
74
  PROMPT = f"Question:{prompt}\nContext:"
75
  for idx in range(k) :
76
  PROMPT+= f"{retrieved_documents['0'][idx]}\n"
77
+ print("historyinfo")
78
  print(history)
79
  if len(history) == 0:
80
  return PROMPT