Spaces:
Sleeping
Sleeping
DataRaptor
commited on
Commit
•
79c1b5f
1
Parent(s):
b87dbd1
Update app.py
Browse files
app.py
CHANGED
@@ -133,10 +133,11 @@ def main():
|
|
133 |
if resp == None:
|
134 |
st.markdown('#### INTERNAL ERROR')
|
135 |
return
|
136 |
-
|
|
|
137 |
response = resp['data']['responses'][0]['content']
|
138 |
reasoning = resp['data']['logs']['content']['llm']['reasoning']
|
139 |
-
llm_input = resp['data']['logs']['content']['llm']['
|
140 |
context = resp['data']['logs']['content']['retrival_model']['matched_doc']
|
141 |
context_prob = resp['data']['logs']['content']['retrival_model']['matched_prob']
|
142 |
|
|
|
133 |
if resp == None:
|
134 |
st.markdown('#### INTERNAL ERROR')
|
135 |
return
|
136 |
+
|
137 |
+
print(resp['data']['logs']['content'])
|
138 |
response = resp['data']['responses'][0]['content']
|
139 |
reasoning = resp['data']['logs']['content']['llm']['reasoning']
|
140 |
+
llm_input = resp['data']['logs']['content']['llm']['input']
|
141 |
context = resp['data']['logs']['content']['retrival_model']['matched_doc']
|
142 |
context_prob = resp['data']['logs']['content']['retrival_model']['matched_prob']
|
143 |
|