rairo commited on
Commit
adc6d7b
·
verified ·
1 Parent(s): 1cab318

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +86 -1
main.py CHANGED
@@ -48,6 +48,87 @@ client = genai.Client(api_key=os.getenv("Gemini"))
48
  model_name = "gemini-2.0-flash-thinking-exp"
49
 
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  class GenericEvaluator:
52
  def generate_prompt(self, participant_info: dict) -> str:
53
  prompt = f"""
@@ -60,7 +141,11 @@ Based on your assessment, provide:
60
  1. "AI Recommendation": either "Accept" or "Reject"
61
  2. "AI Score": a score out of 100 reflecting overall business quality or readiness
62
  3. "Justification": a brief explanation for your decision
63
- 4. "Recommended Interventions": A description of the interventions or what help the business should get from the incubator to take them to the next level"
 
 
 
 
64
  Return your output strictly as a JSON dictionary with these keys: "AI Recommendation", "AI Score", "Justification" and "Recommended Interventions".
65
  """
66
  return prompt
 
48
  model_name = "gemini-2.0-flash-thinking-exp"
49
 
50
 
51
+ interventions_offered = {
52
+ "Branding & Digital Presence": [
53
+ "Domain & Email Registration",
54
+ "Website Development & Hosting",
55
+ "Logo",
56
+ "Social Media Setup & Page",
57
+ "Industry Memberships",
58
+ "Company Profile",
59
+ "Email Signature",
60
+ "Business Cards",
61
+ "Branded Banner",
62
+ "Pamphlets/Brochures",
63
+ "Market Linkage",
64
+ "Marketing Plan",
65
+ "Digital Marketing Support",
66
+ "CRM Solutions"
67
+ ],
68
+ "Financial Management & Compliance": [
69
+ "Management Accounts",
70
+ "Financial Management Templates",
71
+ "Record Keeping",
72
+ "Business Plan/Proposal",
73
+ "Funding Linkages",
74
+ "Financial Literacy Training",
75
+ "Tax Compliance Support",
76
+ "Access to Financial Software",
77
+ "Financial Management Mentorship",
78
+ "Grant Application Support",
79
+ "Cost Management Strategies",
80
+ "Financial Reporting Standards",
81
+ "Product Costing"
82
+ ],
83
+ "Regulatory Compliance & HR": [
84
+ "Insurance",
85
+ "CIPC and Annual Returns Registration",
86
+ "UIF Registration",
87
+ "VAT Registration",
88
+ "Risk Management Plan",
89
+ "HRM Support (i.e., Templates)",
90
+ "Guidance - Food Compliance (Webinar)",
91
+ "PAYE Compliance",
92
+ "COIDA Compliance",
93
+ "Certificate of Acceptability"
94
+ ],
95
+ "Mentorship & Strategic Support": [
96
+ "Marketing Mentoring",
97
+ "Executive Mentoring",
98
+ "Business Ops Plan",
99
+ "Strategic Plan",
100
+ "Business Communication (How to Pitch)",
101
+ "Digital Transformation"
102
+ ],
103
+ "Training & Capacity Building": [
104
+ "Excel Skills Training",
105
+ "Industry Seminars",
106
+ "Fireside Chat",
107
+ "Industry Courses/Training",
108
+ "AI Tools Training",
109
+ "PowerPoint Presentation Training"
110
+ ],
111
+ "Technology & Infrastructure": [
112
+ "Tools and Equipment",
113
+ "Data Support",
114
+ "Technology Application Support"
115
+ ],
116
+ "Health & Safety": [
117
+ "OHS Audit",
118
+ "Health & Safety Training"
119
+ ],
120
+ "Leadership & Innovation": [
121
+ "Design Thinking",
122
+ "Productivity Training",
123
+ "Leadership and Personal Development"
124
+ ],
125
+ "Customer & Market Development": [
126
+ "Customer Service",
127
+ "Technology Readiness and Systems Integration",
128
+ "Sales and Marketing (including Export Readiness)"
129
+ ]
130
+ }
131
+
132
  class GenericEvaluator:
133
  def generate_prompt(self, participant_info: dict) -> str:
134
  prompt = f"""
 
141
  1. "AI Recommendation": either "Accept" or "Reject"
142
  2. "AI Score": a score out of 100 reflecting overall business quality or readiness
143
  3. "Justification": a brief explanation for your decision
144
+ 4. "Recommended Interventions": The interventions you recommend the business gets from the incubator to take them to the next level. choose from these f'{interventions_offered}', only return the interventions in that same format as a list of dictionaries, eg {"intervention type": [
145
+ "intervention 1",
146
+ "intervention 2",
147
+ "intervention 3"
148
+ ],...}
149
  Return your output strictly as a JSON dictionary with these keys: "AI Recommendation", "AI Score", "Justification" and "Recommended Interventions".
150
  """
151
  return prompt