DataRaptor commited on
Commit
f697034
·
1 Parent(s): e96351d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ def main():
133
 
134
  if verbose:
135
  clen = len(context)
136
- retrived = resp['data']['logs']['content']['retrival_model']['retrived_docs'][:retv_cnt]
137
  retrived = '\n\n===============================\n\n'.join(retrived)
138
  context = '\n\n===============================\n\n'.join(context)
139
  response = f'###### Config: Context Checker Value: {ctx_checker_tmp}, LM Value: {lm_tmp}\n\n##### Retrived Context: {retrived}\n\n##### Matched Context: {clen}\n{context}\n\n##### Response:\n{response}'
 
133
 
134
  if verbose:
135
  clen = len(context)
136
+ retrived = resp['data']['logs']['content']['retrival_model']['retrived_doc'][:retv_cnt]
137
  retrived = '\n\n===============================\n\n'.join(retrived)
138
  context = '\n\n===============================\n\n'.join(context)
139
  response = f'###### Config: Context Checker Value: {ctx_checker_tmp}, LM Value: {lm_tmp}\n\n##### Retrived Context: {retrived}\n\n##### Matched Context: {clen}\n{context}\n\n##### Response:\n{response}'