ombhojane commited on
Commit
88934e6
·
verified ·
1 Parent(s): 43d349f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -13
app.py CHANGED
@@ -32,19 +32,35 @@ timeline = st.text_input("What is your timeline for this project?")
32
  if st.button('Generate Project Charter'):
33
  if project_idea and must_have_features and timeline:
34
  prompt = (
35
- f"The coding project idea is: {project_idea}\n"
36
- f"The must-have features for launch are: {must_have_features}\n"
37
- f"The expected timeline for the project is: {timeline}\n"
38
- "Please analyze the project details and generate a draft project charter document covering the following aspects in a structured outline format:\n\n"
39
- "- One-paragraph summarizing the project objectives, key requirements, and outcomes\n"
40
- "- Breakdown of the high-level technical design and architecture\n"
41
- "- Phase-wise plan from design, development, testing to launch\n"
42
- "- List of roles required like frontend, backend, devops engineers etc.\n"
43
- "- Tools and technologies to be used for the MVP\n"
44
- "- Initial effort estimation overview across product, engineering, testing\n"
45
- "- Biggest areas of risks and assumptions to validate\n\n"
46
- "Provide comprehensive details in each section for clarity. Ensure the project charter sets up the key technical guidelines, resource planning, and execution roadmap based on the information provided."
47
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  response = model.generate_content([prompt])
50
  st.write(response.text)
 
32
  if st.button('Generate Project Charter'):
33
  if project_idea and must_have_features and timeline:
34
  prompt = (
35
+ f"The coding project idea is: {project_idea}\n"
36
+ f"The must-have features for launch are: {must_have_features}\n"
37
+ f"The expected timeline for the project is: {timeline}\n"
38
+
39
+ "Please analyze the project details and generate a draft project charter document covering the following aspects:\n\n"
40
+
41
+ "- One-paragraph summarizing the project objectives, key requirements, and outcomes\n"
42
+ "- High-level user flow diagram showing the key screens and user journey\n"
43
+ "- Breakdown of the high-level technical design and architecture\n"
44
+ "- Phase-wise plan from design, development, testing to launch\n"
45
+ "- List of roles required like frontend, backend, devops engineers etc.\n"
46
+ "- Tools and technologies to be used for the MVP\n"
47
+ "- Initial effort estimation overview across product, engineering, testing\n"
48
+ "- Biggest areas of risks and assumptions to validate\n\n"
49
+
50
+ """For the user flow diagram, please use the mermaid JS syntax, for example:\n\n
51
+
52
+ ```mermaid\n"
53
+ "flowchart TD\n"
54
+ " A[Ecommerce] --> B{View product} \n"
55
+ " B --> C{Add to cart}\n"
56
+ " C --> D[Payment]\n"
57
+ " D --> E[Order confirmed]\n"
58
+ "```\n\n"
59
+
60
+ Provide comprehensive details in each charter section for clarity. Ensure it sets up the key technical guidelines, resource planning, and execution roadmap based on the information provided.
61
+ """
62
+ )
63
+
64
 
65
  response = model.generate_content([prompt])
66
  st.write(response.text)