Update app.py
Browse files
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
|
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 |
)
|