bluenevus commited on
Commit
5a46750
·
verified ·
1 Parent(s): 9b44b20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ matrix_type = None
25
 
26
  # Matrix types and their descriptions
27
  matrix_types = {
28
- "Project Mangement Matrix": "Generate a project management matrix outlining all aspects of project management that summarizes components such as scope, schedule, budget, quality, resources, communications, risk, procurement, and stakeholder management.",
29
  "Communications Plan Matrix": "Create a matrix showing stakeholders, communication methods, frequency, and responsibilities.",
30
  "Project Kick-off Matrix": "Generate a matrix outlining key project details, goals, team roles, and initial timelines.",
31
  "Decision Matrix": "Develop a matrix for evaluating options against criteria, with weighted scores analysis of alternatives style.",
@@ -186,7 +186,7 @@ Now, generate the {matrix_type}:
186
  response = openai.ChatCompletion.create(
187
  model="gpt-4-turbo",
188
  messages=[
189
- {"role": "system", "content": "You are a precise matrix generator that outputs only the requested matrix without any additional text."},
190
  {"role": "user", "content": prompt}
191
  ]
192
  )
 
25
 
26
  # Matrix types and their descriptions
27
  matrix_types = {
28
+ "Project Mangement Matrix": "Generate a project management matrix summarizing all aspects of project management with components such as scope, schedule, budget, quality, resources, communications, risk, procurement, and stakeholder management. This is not a project plan but a summary",
29
  "Communications Plan Matrix": "Create a matrix showing stakeholders, communication methods, frequency, and responsibilities.",
30
  "Project Kick-off Matrix": "Generate a matrix outlining key project details, goals, team roles, and initial timelines.",
31
  "Decision Matrix": "Develop a matrix for evaluating options against criteria, with weighted scores analysis of alternatives style.",
 
186
  response = openai.ChatCompletion.create(
187
  model="gpt-4-turbo",
188
  messages=[
189
+ {"role": "system", "content": "You are a precise matrix generator that outputs only the requested matrix without any additional text. If you get a pws, then use the shall and will statements to extrapolate the information you need, make assumptions."},
190
  {"role": "user", "content": prompt}
191
  ]
192
  )