sainathBelagavi commited on
Commit
0261ba5
·
verified ·
1 Parent(s): aec842c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +59 -0
app.py CHANGED
@@ -93,6 +93,65 @@ if st.session_state.chat_state == "normal":
93
  custom_instruction = (
94
  "Analyze this transcript with precision. Remove commas in claim numbers, preserve exact numbers and "
95
  "dates (dd/mm/yy). Extract claim numbers as single entities."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  )
97
  conversation_history = [(msg["role"], msg["content"]) for msg in st.session_state.messages]
98
  formatted_text = format_prompt(prompt, conversation_history, custom_instruction)
 
93
  custom_instruction = (
94
  "Analyze this transcript with precision. Remove commas in claim numbers, preserve exact numbers and "
95
  "dates (dd/mm/yy). Extract claim numbers as single entities."
96
+ """. Only include information explicitly stated
97
+
98
+ 2. Mark unclear information as "UNCLEAR"
99
+
100
+ 3. Preserve exact numbers, dates (in dd/mm/yy format), and claims
101
+
102
+ 4. Focus on factual content
103
+
104
+ IMPORTANT REQUIREMENTS:
105
+
106
+ - Format all dates as dd/mm/yy
107
+
108
+ - Extract and list all claim numbers mentioned
109
+
110
+ - Maintain exact numbers and statistics as stated
111
+
112
+ - Do not make assumptions about unclear information
113
+
114
+ Please analyze the following transcript and structure your response as follows:
115
+
116
+ PARTICIPANTS:
117
+
118
+ - List all participants and their roles (if mentioned)
119
+
120
+ CONTEXT:
121
+
122
+ - Meeting purpose
123
+
124
+ - Duration (if mentioned)
125
+
126
+ - Meeting date/time
127
+
128
+ KEY POINTS:
129
+
130
+ - Main topics discussed
131
+
132
+ - Decisions made
133
+
134
+ - Important numbers/metrics mentioned
135
+
136
+ - Claims discussed
137
+
138
+ ACTION ITEMS:
139
+
140
+ - Specific tasks assigned
141
+
142
+ - Who is responsible
143
+
144
+ - Deadlines (in dd/mm/yy format)
145
+
146
+ FOLLOW UP:
147
+
148
+ - Scheduled next meetings
149
+
150
+ - Pending items
151
+
152
+ - Required approvals or confirmations
153
+
154
+ NOTE: If any section lacks explicitly stated information, mark it as "UNCLEAR" or "NOT MENTIONED""""
155
  )
156
  conversation_history = [(msg["role"], msg["content"]) for msg in st.session_state.messages]
157
  formatted_text = format_prompt(prompt, conversation_history, custom_instruction)