bluenevus commited on
Commit
9b51a58
·
1 Parent(s): 9abebbc

Update app.py via AI Editor

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -155,9 +155,9 @@ def process_document(action, selected_filename=None, chat_input=None):
155
  logging.warning("No uploaded document found for shredding.")
156
  return "No document uploaded.", None, None, None
157
  prompt = (
158
- "Analyze the following RFP/PWS/SOW/RFI and generate a requirements spreadsheet. "
159
- "Identify requirements by action words like 'shall', 'will', 'perform', etc. Also analye the document and put a column for win theme for each requirement identified. Organize by PWS section and requirement. "
160
- "Do not write as if responding to the proposal.\n"
161
  )
162
  if chat_input:
163
  prompt += f"User additional instructions: {chat_input}\n"
@@ -196,7 +196,7 @@ def process_document(action, selected_filename=None, chat_input=None):
196
  prompt = (
197
  "Create a highly detailed proposal response based on the following PWS requirements. "
198
  "Be compliant and compelling. Focus on describing the approach, steps, workflow, people, processes, and technology. "
199
- "Refer to research that validates the approach and cite sources with measurable outcomes.\n"
200
  )
201
  if chat_input:
202
  prompt += f"User additional instructions: {chat_input}\n"
@@ -235,7 +235,7 @@ def process_document(action, selected_filename=None, chat_input=None):
235
  "Respond to the following RFP/SOW/PWS/RFI by creating a highly detailed proposal response that follows each section and subsection header. "
236
  "The response to each section and subsection will be compliant and compelling, focusing on describing the approach, and how the labor category uses a specific industry standard process in a workflow described in steps, and how technology is used. "
237
  "You must show innovation in the approach. Refer to research that validates the approach and cite sources with measurable outcome. "
238
- "Be sure to respond in paragraph format only, never use numbering, or bullets, only paragraph describing in detail.\n"
239
  )
240
  if chat_input:
241
  prompt += f"User additional instructions: {chat_input}\n"
 
155
  logging.warning("No uploaded document found for shredding.")
156
  return "No document uploaded.", None, None, None
157
  prompt = (
158
+ "Analyze the following RFP/PWS/SOW/RFI and generate a requirements spreadsheet. Return ONLY the markdown spreadsheet and NOTHING else"
159
+ "Identify requirements by action words like 'shall', 'will', 'perform', etc. Also analye the document and put a column for recommended win theme for each requirement identified. Organize by PWS section and requirement. "
160
+ "Do not write as if responding to the proposal Return the ONLY markdown spreadsheet and NOTHING else, no intro, no outro, no comments.\n"
161
  )
162
  if chat_input:
163
  prompt += f"User additional instructions: {chat_input}\n"
 
196
  prompt = (
197
  "Create a highly detailed proposal response based on the following PWS requirements. "
198
  "Be compliant and compelling. Focus on describing the approach, steps, workflow, people, processes, and technology. "
199
+ "Refer to research that validates the approach and cite sources with measurable outcomes. Return only the proposal response in markdown and nothing else, no comments, no intro, no outro, just the proposal.\n"
200
  )
201
  if chat_input:
202
  prompt += f"User additional instructions: {chat_input}\n"
 
235
  "Respond to the following RFP/SOW/PWS/RFI by creating a highly detailed proposal response that follows each section and subsection header. "
236
  "The response to each section and subsection will be compliant and compelling, focusing on describing the approach, and how the labor category uses a specific industry standard process in a workflow described in steps, and how technology is used. "
237
  "You must show innovation in the approach. Refer to research that validates the approach and cite sources with measurable outcome. "
238
+ "Be sure to respond in paragraph format only, never use numbering, or bullets, only paragraph describing in detail.Return only the proposal response in markdown and nothing else, no comments, no intro, no outro, just the proposal\n"
239
  )
240
  if chat_input:
241
  prompt += f"User additional instructions: {chat_input}\n"