Update app.py
Browse files
app.py
CHANGED
@@ -93,9 +93,9 @@ initial_message = f"Hello {lead['name']}, I'd like to discuss our cybersecurity
|
|
93 |
|
94 |
if st.button("Start Conversation"):
|
95 |
with st.spinner("AI is generating a response..."):
|
96 |
-
response = agent_executor({"input": initial_message})
|
97 |
st.write("AI Response:")
|
98 |
-
st.write(response
|
99 |
|
100 |
st.sidebar.title("About")
|
101 |
st.sidebar.info("This is a demo of an AI CyberSecurity Program Advisor using an open-source LLM and LangChain. It's designed to engage with leads and attempt to book video calls for sales meetings.")
|
|
|
93 |
|
94 |
if st.button("Start Conversation"):
|
95 |
with st.spinner("AI is generating a response..."):
|
96 |
+
response = agent_executor.invoke({"input": initial_message})
|
97 |
st.write("AI Response:")
|
98 |
+
st.write(response) # Display the full response dictionary
|
99 |
|
100 |
st.sidebar.title("About")
|
101 |
st.sidebar.info("This is a demo of an AI CyberSecurity Program Advisor using an open-source LLM and LangChain. It's designed to engage with leads and attempt to book video calls for sales meetings.")
|