pmtaday commited on
Commit
07133b1
·
1 Parent(s): 4b1a865

updated_cosmetic_changes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def retriever(query: str):
30
  # You could return retrieved info here.
31
  return message
32
 
33
- def reasoner(info: list):
34
  """Simulate a 'reasoner' step, thinking about how to answer."""
35
  with st.chat_message("assistant"):
36
  placeholder = st.empty()
@@ -57,7 +57,7 @@ if prompt := st.chat_input("Type here"):
57
  retrieved_documents=retriever(prompt)
58
 
59
  #Calling reasoner
60
- reasoning= reasoner(reatrived_documents)
61
 
62
  # Display assistant response in chat message container
63
  with st.chat_message("assistant"):
 
30
  # You could return retrieved info here.
31
  return message
32
 
33
+ def reasoner(info: list[str]):
34
  """Simulate a 'reasoner' step, thinking about how to answer."""
35
  with st.chat_message("assistant"):
36
  placeholder = st.empty()
 
57
  retrieved_documents=retriever(prompt)
58
 
59
  #Calling reasoner
60
+ reasoning = reasoner(retrieved_documents)
61
 
62
  # Display assistant response in chat message container
63
  with st.chat_message("assistant"):