davidfearne commited on
Commit
41bbcdb
·
verified ·
1 Parent(s): 0e1f795

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -82,11 +82,11 @@ st.sidebar.image('agentBuilderLogo.png')
82
  st.sidebar.header("Agent Personas Design")
83
  # st.sidebar.subheader("Welcome Message")
84
  # welcomeMessage = st.sidebar.text_area("Define Triaging Persona", value=welcomeMessage, height=300)
85
- st.sidebar.subheader("Personas 1 Settings")
86
  numberOfQuestions = st.sidebar.slider("Number of Questions", min_value=0, max_value=10, step=1, value=5, key='persona1_questions')
87
  persona1SystemMessage = st.sidebar.text_area("Define Triaging Persona", value=placeHolderPersona1, height=300)
88
  with st.sidebar.expander("See explanation"):
89
- st.write("Personas: the individual members of the business function / agent equivalent to employee’s. They have job or personality specific design and are crafted to think, and reason based on this job or personality specific design. They have free reign to feedback to the task however they see most appropriate ")
90
  st.image("agentPersona1.png")
91
  llm1 = st.sidebar.selectbox("Model Selection", ['GPT-4', 'GPT3.5'], key='persona1_size')
92
  temp1 = st.sidebar.slider("Tempreature", min_value=0.0, max_value=1.0, step=0.1, value=0.6, key='persona1_temp')
@@ -94,9 +94,9 @@ tokens1 = st.sidebar.slider("Tokens", min_value=0, max_value=4000, step=100, val
94
 
95
  # Persona 2
96
  st.sidebar.subheader("Personas 2 Settings")
97
- persona2SystemMessage = st.sidebar.text_area("Define Selection Persona", value=placeHolderPersona2, height=300)
98
  with st.sidebar.expander("See explanation"):
99
- st.write("Personas: the individual members of the business function / agent equivalent to employee’s. They have job or personality specific design and are crafted to think, and reason based on this job or personality specific design. They have free reign to feedback to the task however they see most appropriate ")
100
  st.image("agentPersona2.png")
101
  llm2 = st.sidebar.selectbox("Model Selection", ['GPT-4', 'GPT3.5'], key='persona2_size')
102
  temp2 = st.sidebar.slider("Tempreature", min_value=0.0, max_value=1.0, step=0.1, value=0.5, key='persona2_temp')
 
82
  st.sidebar.header("Agent Personas Design")
83
  # st.sidebar.subheader("Welcome Message")
84
  # welcomeMessage = st.sidebar.text_area("Define Triaging Persona", value=welcomeMessage, height=300)
85
+ st.sidebar.subheader("Symptom Intake AI")
86
  numberOfQuestions = st.sidebar.slider("Number of Questions", min_value=0, max_value=10, step=1, value=5, key='persona1_questions')
87
  persona1SystemMessage = st.sidebar.text_area("Define Triaging Persona", value=placeHolderPersona1, height=300)
88
  with st.sidebar.expander("See explanation"):
89
+ 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")
90
  st.image("agentPersona1.png")
91
  llm1 = st.sidebar.selectbox("Model Selection", ['GPT-4', 'GPT3.5'], key='persona1_size')
92
  temp1 = st.sidebar.slider("Tempreature", min_value=0.0, max_value=1.0, step=0.1, value=0.6, key='persona1_temp')
 
94
 
95
  # Persona 2
96
  st.sidebar.subheader("Personas 2 Settings")
97
+ persona2SystemMessage = st.sidebar.text_area("Define Diagnosis Persona", value=placeHolderPersona2, height=300)
98
  with st.sidebar.expander("See explanation"):
99
+ 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. ")
100
  st.image("agentPersona2.png")
101
  llm2 = st.sidebar.selectbox("Model Selection", ['GPT-4', 'GPT3.5'], key='persona2_size')
102
  temp2 = st.sidebar.slider("Tempreature", min_value=0.0, max_value=1.0, step=0.1, value=0.5, key='persona2_temp')