Spaces:
Sleeping
Sleeping
Commit
·
2f0e345
1
Parent(s):
1d0ef2d
added logging to better understand the issue
Browse files
app.py
CHANGED
@@ -41,10 +41,9 @@ def use_streamlit():
|
|
41 |
repository.init()
|
42 |
with st.status("waiting for LLM"):
|
43 |
answer = repository.send_prompt(pm.verify_user_input_prompt(user_input))
|
44 |
-
|
45 |
with st.status("Checking for missing answers"):
|
46 |
st.session_state["answers"] = LlmParser.parse_verification_prompt_answers(answer['content'])
|
47 |
-
|
48 |
st.session_state["missing_answers"] = check_for_missing_answers(st.session_state["answers"])
|
49 |
if not st.session_state.get("missing_answers"):
|
50 |
st.session_state["step"] = "check_category"
|
|
|
41 |
repository.init()
|
42 |
with st.status("waiting for LLM"):
|
43 |
answer = repository.send_prompt(pm.verify_user_input_prompt(user_input))
|
44 |
+
st.write(f"answers from LLM: {answer['content']}")
|
45 |
with st.status("Checking for missing answers"):
|
46 |
st.session_state["answers"] = LlmParser.parse_verification_prompt_answers(answer['content'])
|
|
|
47 |
st.session_state["missing_answers"] = check_for_missing_answers(st.session_state["answers"])
|
48 |
if not st.session_state.get("missing_answers"):
|
49 |
st.session_state["step"] = "check_category"
|