Commit
·
2dd9a2b
1
Parent(s):
9479d4f
Revise prompt format
Browse files
app.py
CHANGED
@@ -69,10 +69,10 @@ Background: {}
|
|
69 |
Question: {}
|
70 |
|
71 |
### OBJECTIVE
|
72 |
-
Your objective is to carefully assess the situation described and identify the
|
73 |
|
74 |
### RESPONSE
|
75 |
-
Please respond by only listing the
|
76 |
Example: AAA, BBB, CCC
|
77 |
"""
|
78 |
|
@@ -84,11 +84,12 @@ You are presented with this specific situation:
|
|
84 |
Background: {}
|
85 |
Question: {}
|
86 |
|
87 |
-
Currently you
|
88 |
|
89 |
### OBJECTIVE
|
90 |
-
Based on the provided inputs, your task is to identify a potential risk that directly impacts the strategic objectives of the Kalbe Group
|
91 |
-
|
|
|
92 |
|
93 |
1. Trust is the glue of life.
|
94 |
2. Mindfulness is the foundation of our action.
|
@@ -97,6 +98,7 @@ IMPORTANT: Your recommendations must align with the Panca Sradha values:
|
|
97 |
5. Interconnectedness is a universal way of life.
|
98 |
|
99 |
### RESPONSE
|
|
|
100 |
Ensure your response is connected to the Panca Sradha values by emphasizing them in italics whenever mentioned.
|
101 |
"""
|
102 |
|
@@ -156,8 +158,12 @@ if st.button("Submit"):
|
|
156 |
|
157 |
roles = generateRoles(background, question)
|
158 |
print(roles)
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
|
|
|
|
|
|
|
|
|
69 |
Question: {}
|
70 |
|
71 |
### OBJECTIVE
|
72 |
+
Your objective is to carefully assess the situation described and identify the five departments from the provided list that are most closely related to the current conditions. Determine which departments are significantly impacted by the scenario and would benefit from a targeted risk management strategy.
|
73 |
|
74 |
### RESPONSE
|
75 |
+
Please respond by only listing the five NAMES of SELECTED DEPARTMENTS separated by commas.
|
76 |
Example: AAA, BBB, CCC
|
77 |
"""
|
78 |
|
|
|
84 |
Background: {}
|
85 |
Question: {}
|
86 |
|
87 |
+
Currently, you have five departments, each with its own specialization in risk-based assessment. The departments are: {}.
|
88 |
|
89 |
### OBJECTIVE
|
90 |
+
Based on the provided inputs, your task is to identify a potential risk that directly impacts the strategic objectives of the Kalbe Group for each department.
|
91 |
+
Once identified, you are to propose effective mitigation strategies that align with the company’s overall goals and operational frameworks.
|
92 |
+
IMPORTANT: Your recommendations must align with one or more of the Panca Sradha values:
|
93 |
|
94 |
1. Trust is the glue of life.
|
95 |
2. Mindfulness is the foundation of our action.
|
|
|
98 |
5. Interconnectedness is a universal way of life.
|
99 |
|
100 |
### RESPONSE
|
101 |
+
Please provide your response in bullet points, outlining the key points for each department. Each keypoints should include a paragraph description.
|
102 |
Ensure your response is connected to the Panca Sradha values by emphasizing them in italics whenever mentioned.
|
103 |
"""
|
104 |
|
|
|
158 |
|
159 |
roles = generateRoles(background, question)
|
160 |
print(roles)
|
161 |
+
risk = generateRisk(background, question, roles)
|
162 |
+
st.divider()
|
163 |
+
st.header(f"Risk Analysis")
|
164 |
+
st.write(risk)
|
165 |
+
# for role in roles.split(','):
|
166 |
+
# risk = generateRisk(background, question, role)
|
167 |
+
# st.divider()
|
168 |
+
# st.header(f"Risk Analysis in {role}")
|
169 |
+
# st.write(risk)
|