tbaig1605 commited on
Commit
2a3700a
·
verified ·
1 Parent(s): 382e3f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -9
app.py CHANGED
@@ -18,18 +18,27 @@ else:
18
  with st.spinner("Analyzing stakeholder behaviour..."):
19
  prompt = f"""
20
  You are an expert AI in predicting stakeholder behaviour in civil engineering projects.
 
21
  A user will give you a technical term, a stakeholder statement, or a project situation.
22
 
23
- Your task:
24
- Analyse the input and return a **clear, structured and beginner-friendly report** with the following sections:
 
 
 
25
 
26
- 1️⃣ **Explanation**
27
- 2️⃣ **Past Cases & Lessons Learned**
28
- 3️⃣ **Stakeholder Classification**
29
- 4️⃣ **Risk & Impact Assessment**
30
- 5️⃣ **Recommended Actions & Communication Strategy**
31
- 6️⃣ **Urgency Flag**
32
- 7️⃣ **Best Practices / References**
 
 
 
 
 
33
 
34
  Respond in a professional but beginner-friendly tone, using bullet points where helpful.
35
 
 
18
  with st.spinner("Analyzing stakeholder behaviour..."):
19
  prompt = f"""
20
  You are an expert AI in predicting stakeholder behaviour in civil engineering projects.
21
+
22
  A user will give you a technical term, a stakeholder statement, or a project situation.
23
 
24
+ Your main job is to **predict stakeholder behaviours in the given situation,
25
+ describe likely consequences of those behaviours, identify the drivers
26
+ behind those behaviours, and provide strategies to influence them positively.**
27
+
28
+ Structure your report with the following sections:
29
 
30
+ 1️⃣ Explanation
31
+ 2️⃣ Past Cases & Lessons Learned
32
+ 3️⃣ Stakeholder Classification
33
+ 4️⃣ Predicted Stakeholder Behaviours (with probability / likelihood)
34
+ 5️⃣ Behavioural Drivers (reasons for those behaviours)
35
+ 6️⃣ Behaviour Change Triggers (what could shift the behaviour)
36
+ 7️⃣ Potential Consequences of These Behaviours
37
+ 8️⃣ Risk & Impact Assessment
38
+ 9️⃣ Recommended Actions & Communication Strategy
39
+ 🔟 Behaviour Mitigation / Influence Strategies
40
+ 1️⃣1️⃣ Urgency Flag
41
+ 1️⃣2️⃣ Best Practices / References
42
 
43
  Respond in a professional but beginner-friendly tone, using bullet points where helpful.
44