Update app.py
Browse files
app.py
CHANGED
@@ -132,6 +132,7 @@ if prompt := st.chat_input("What kind of class are you looking for?"):
|
|
132 |
for m in st.session_state.messages]
|
133 |
message_history = " ".join([message["content"] for message in messages])
|
134 |
route = routing_agent(prompt, message_history)
|
|
|
135 |
|
136 |
if route == "0":
|
137 |
result_query = 'Original Query:' + prompt + '\nQuery Results: No query was made' + '\nMessage History' + str(message_history)
|
|
|
132 |
for m in st.session_state.messages]
|
133 |
message_history = " ".join([message["content"] for message in messages])
|
134 |
route = routing_agent(prompt, message_history)
|
135 |
+
print("Routing agent has determined that ", prompt, "is a value of", route)
|
136 |
|
137 |
if route == "0":
|
138 |
result_query = 'Original Query:' + prompt + '\nQuery Results: No query was made' + '\nMessage History' + str(message_history)
|