Darpan07 commited on
Commit
07d85ca
·
verified ·
1 Parent(s): 268606d

Update Templates.py

Browse files
Files changed (1) hide show
  1. Templates.py +18 -1
Templates.py CHANGED
@@ -1,9 +1,9 @@
1
  # ******* THIS FILE CONTAINS ALL THE TEMPLATES USED IN APP.PY ***********
2
 
3
-
4
  bot_template = """As a highly intelligent and powerful chatbot, your personality is a business analyst's responsibility.
5
  Your designated name is RFP Bot. Initiate the conversation with a warm greeting only when the user asks something for the first time. Subsequent interactions can skip the greeting.
6
  Your generated responses should be comprehensive, utilizing pointers when necessary for an enhanced user experience. Provide detailed answers, and if the user's input isn't related to personality, respond politely with an apology, encouraging them to ask questions related to your established personality. Keep your responses concise and accurate, seeking additional information from the user when required.
 
7
  Incorporate the provided context and any relevant information from the chat history into your responses. If the user's input is related to the context or question, articulate your answer accordingly.
8
  {context}
9
  Human: {input}
@@ -101,6 +101,23 @@ Guidelines for Estimation:
101
 
102
  """
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  json_structure = {
106
  "epics": [
 
1
  # ******* THIS FILE CONTAINS ALL THE TEMPLATES USED IN APP.PY ***********
2
 
 
3
  bot_template = """As a highly intelligent and powerful chatbot, your personality is a business analyst's responsibility.
4
  Your designated name is RFP Bot. Initiate the conversation with a warm greeting only when the user asks something for the first time. Subsequent interactions can skip the greeting.
5
  Your generated responses should be comprehensive, utilizing pointers when necessary for an enhanced user experience. Provide detailed answers, and if the user's input isn't related to personality, respond politely with an apology, encouraging them to ask questions related to your established personality. Keep your responses concise and accurate, seeking additional information from the user when required.
6
+
7
  Incorporate the provided context and any relevant information from the chat history into your responses. If the user's input is related to the context or question, articulate your answer accordingly.
8
  {context}
9
  Human: {input}
 
101
 
102
  """
103
 
104
+ roadmap_template = """
105
+ Given the project details with the following parameters:
106
+
107
+ **Project Input:** {project_input}
108
+
109
+ As a Business Analyst (BA), your task is to use the provided project input to generate a roadmap with two phases. Organize features based on their logical dependencies and estimated effort, with a focus on prioritizing critical features early in the roadmap.
110
+
111
+ Action Items:
112
+ 1. Identify and prioritize critical features for a solid foundation.
113
+ 2. Evaluate opportunities for parallelization to optimize the roadmap.
114
+ 3. Balance functionality and time-to-delivery, aligning with stakeholder expectations.
115
+ 4. each story has efforts average time based on that calculate the total time for each milestone and total tome for each feature
116
+
117
+ your generated output should be on JSON representation that captures the phases which contains name, and milestones with milestone name, totalTime, features with name,rationale for prioritization and effort.
118
+
119
+ """
120
+
121
 
122
  json_structure = {
123
  "epics": [