Update app.py
Browse files
app.py
CHANGED
@@ -79,10 +79,10 @@ st.title('LLM-Powered Agent Interaction')
|
|
79 |
st.sidebar.image('cognizant_logo.jpg')
|
80 |
st.sidebar.header("Agent Personas Design")
|
81 |
# st.sidebar.subheader("Welcome Message")
|
82 |
-
# welcomeMessage = st.sidebar.text_area("Define
|
83 |
st.sidebar.subheader("Intake AI")
|
84 |
numberOfQuestions = st.sidebar.slider("Number of Questions", min_value=0, max_value=10, step=1, value=5, key='persona1_questions')
|
85 |
-
persona1SystemMessage = st.sidebar.text_area("Define
|
86 |
with st.sidebar.expander("See explanation"):
|
87 |
st.write("This AI persona will converse with the patient to gather their symptoms. With each round of chat, the object of the AI is to ask more specific follow up questions as it narrows down to the specific diagnosis. However this AI should never give a diagnosis")
|
88 |
st.image("agentPersona1.png")
|
@@ -92,7 +92,7 @@ tokens1 = st.sidebar.slider("Tokens", min_value=0, max_value=4000, step=100, val
|
|
92 |
|
93 |
# Persona 2
|
94 |
st.sidebar.subheader("Recommendation and Next Best Action AI")
|
95 |
-
persona2SystemMessage = st.sidebar.text_area("Define
|
96 |
with st.sidebar.expander("See explanation"):
|
97 |
st.write("This AI persona uses the output of the symptom intake AI as its input. This AI’s job is to augment a health professional by assisting with a diagnosis and possible next best action. The teams will need to determine if this should be a tool used directly by the patient, as an assistant to the health professional or a hybrid of the two. ")
|
98 |
st.image("agentPersona2.png")
|
|
|
79 |
st.sidebar.image('cognizant_logo.jpg')
|
80 |
st.sidebar.header("Agent Personas Design")
|
81 |
# st.sidebar.subheader("Welcome Message")
|
82 |
+
# welcomeMessage = st.sidebar.text_area("Define Intake Persona", value=welcomeMessage, height=300)
|
83 |
st.sidebar.subheader("Intake AI")
|
84 |
numberOfQuestions = st.sidebar.slider("Number of Questions", min_value=0, max_value=10, step=1, value=5, key='persona1_questions')
|
85 |
+
persona1SystemMessage = st.sidebar.text_area("Define Intake Persona", value=placeHolderPersona1, height=300)
|
86 |
with st.sidebar.expander("See explanation"):
|
87 |
st.write("This AI persona will converse with the patient to gather their symptoms. With each round of chat, the object of the AI is to ask more specific follow up questions as it narrows down to the specific diagnosis. However this AI should never give a diagnosis")
|
88 |
st.image("agentPersona1.png")
|
|
|
92 |
|
93 |
# Persona 2
|
94 |
st.sidebar.subheader("Recommendation and Next Best Action AI")
|
95 |
+
persona2SystemMessage = st.sidebar.text_area("Define Recommendation Persona", value=placeHolderPersona2, height=300)
|
96 |
with st.sidebar.expander("See explanation"):
|
97 |
st.write("This AI persona uses the output of the symptom intake AI as its input. This AI’s job is to augment a health professional by assisting with a diagnosis and possible next best action. The teams will need to determine if this should be a tool used directly by the patient, as an assistant to the health professional or a hybrid of the two. ")
|
98 |
st.image("agentPersona2.png")
|