Update app.py
Browse files14 unmodified lines151617181920216 unmodified lines2829303132333435363714 unmodified lines# --- Prompts ---PROMPT_NORMAL = """Based on the user's original query, provide a concise summary (3-4 important bullet points) of the following text. Focus only on the most critical information.USER'S QUERY: "{query}"TEXT TO SUMMARIZE:---6 unmodified lines**VERY IMPORTANT:** Your top priority is to provide information relevant to this current date and the future. If the user's query is about a recurring event (like an exam), you MUST focus on the upcoming or current event.**User's Original Query:** "{query}"**Instructions:**1. Combine information from different sources to create a coherent and detailed report.2. Cite source URLs inline, like this: "(Source: http://...)." The URL is provided in the text.3. At the end of your report, create a "## Sources" section and list all the unique URLs you used.4. Use clear markdown with headings and bold text.**Provided Search Results:**---{context_text}14 unmodified lines151617181920216 unmodified lines28293031323334353614 unmodified lines# --- Prompts ---PROMPT_NORMAL = """Based on the user's original query, provide a concise summary in shot form of the following text. Focus only on query releted information mention source url and Answer should be in correct order in timeline.USER'S QUERY: "{query}"TEXT TO SUMMARIZE:---6 unmodified lines**VERY IMPORTANT:** Your top priority is to provide information relevant to this current date and the future. If the user's query is about a recurring event (like an exam), you MUST focus on the upcoming or current event.**User's Original Query:** "{query}"**Instructions:**1. Combine information from different sources to create a coherent and detailed report dont include your personal opinion.2. Cite source URLs inline, like this: "(Source: http://...)." The URL is provided in the text.3. In the result, give only query related details which are completely different from the topic of the query, ignore them and make a summary in the detailed summary in the order of the timeline. .**Provided Search Results:**---{context_text}
app.py+3-4