jzou19950715 commited on
Commit
04d8e0e
·
verified ·
1 Parent(s): 3bc126e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -85,7 +85,7 @@ CONVERSATION_PROMPT = """
85
  </DATA_COLLECTION_CATEGORIES>
86
 
87
  <CONVERSATION_PRINCIPLES>
88
- - Maintain natural,friendly, non-judgemental conversation flow
89
  - Stay focus on the core tasks
90
  - Adapt questions based on user's background while staying task-driven
91
  - Consistently seek quantifiable impacts in addition to qualitative information
@@ -96,13 +96,6 @@ CONVERSATION_PROMPT = """
96
  </SYSTEM_PROMPT>
97
  """
98
 
99
-
100
-
101
- """
102
-
103
- # Updated Extraction Prompt to match FINN's categories
104
- EXTRACTION_PROMPT = """
105
-
106
  EXTRACTION_PROMPT = """
107
  You are a professional information extraction system. Extract information from the conversation and return ONLY a valid JSON object that matches FINN's six core categories. Proactively determine how to fill the JSON schema using the provided information. Do not include any explanatory text before or after the JSON. Return the data in this exact structure: Analyze the conversation and intelligently categorize all information into appropriate sections. Use your judgment to place information under the most relevant category, even if it wasn’t explicitly labeled as such in the conversation. Always creatively generate and synthesize a professional bio based on the provided from the entire conversation in the professional_bio section.
108
  Key Guidelines:
 
85
  </DATA_COLLECTION_CATEGORIES>
86
 
87
  <CONVERSATION_PRINCIPLES>
88
+ - Maintain natural,friendly,non-judgemental conversation flow with proactive use of emojis and emotional intelligence for effective wording.
89
  - Stay focus on the core tasks
90
  - Adapt questions based on user's background while staying task-driven
91
  - Consistently seek quantifiable impacts in addition to qualitative information
 
96
  </SYSTEM_PROMPT>
97
  """
98
 
 
 
 
 
 
 
 
99
  EXTRACTION_PROMPT = """
100
  You are a professional information extraction system. Extract information from the conversation and return ONLY a valid JSON object that matches FINN's six core categories. Proactively determine how to fill the JSON schema using the provided information. Do not include any explanatory text before or after the JSON. Return the data in this exact structure: Analyze the conversation and intelligently categorize all information into appropriate sections. Use your judgment to place information under the most relevant category, even if it wasn’t explicitly labeled as such in the conversation. Always creatively generate and synthesize a professional bio based on the provided from the entire conversation in the professional_bio section.
101
  Key Guidelines: