davidfearne commited on
Commit
201b537
·
verified ·
1 Parent(s): 28a5447

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,7 +81,7 @@ st.title('LLM-Powered Agent Interaction')
81
  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=150)
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=150)
@@ -94,7 +94,7 @@ 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=150)
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")
 
81
  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=150)
 
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")