Spaces:
Running
Running
DataRaptor
commited on
Commit
•
687b6e4
1
Parent(s):
79c1b5f
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def main():
|
|
150 |
|
151 |
context = [str(round(b, 3)) + ': ' + a for a, b in zip (context, context_prob)]
|
152 |
context = '\n\n===============================\n\n'.join(context)
|
153 |
-
response = f'###### Config: Context Checker Value: {ctx_checker_tmp}, LM Value: {lm_tmp}\n\n##### Retrived Context:\n{retrived}\n\n##### Response:\n{
|
154 |
|
155 |
if show_input:
|
156 |
response += '\n\n### LLM Input:\n' + llm_input
|
|
|
150 |
|
151 |
context = [str(round(b, 3)) + ': ' + a for a, b in zip (context, context_prob)]
|
152 |
context = '\n\n===============================\n\n'.join(context)
|
153 |
+
response = f'###### Config: Context Checker Value: {ctx_checker_tmp}, LM Value: {lm_tmp}\n\n##### Retrived Context:\n{retrived}\n\n##### Response:\n{reasoning}' # ##### Matched Context:{clen}\n{context}\n\n
|
154 |
|
155 |
if show_input:
|
156 |
response += '\n\n### LLM Input:\n' + llm_input
|