Srish117 commited on
Commit
efc1c9c
·
verified ·
1 Parent(s): c0ea862

ChangedPrompt

Browse files

Changed Prompt to fix list errors

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def AI_Search_extract_cmpy(text):
121
 
122
  Provide only the list in the following format, without any explanatory or introductory text:
123
  ['company - product name', 'company - product name', 'product name', ...]
124
- and remember dont give like this ['McDonald's - Big Mac'] becauses this will be given to pyhton this return error.
125
  If the company name is unknown, only include the product name without the company name."""
126
  # prompt = """You will be given a dynamic text that summarizes key products, applications, and comparisons from articles about VR headsets. Your task is to extract relevant product names from the text and generate a list of search queries suitable for a search API. Don't give more than five names in the list.Dont repeat the company names and please dont add single quotes or any other special characters that will be given error for pyhton to read.
127
  # Output Format:
 
121
 
122
  Provide only the list in the following format, without any explanatory or introductory text:
123
  ['company - product name', 'company - product name', 'product name', ...]
124
+ and remember dont give like this ['McDonald's - Big Mac'] if the company is like this then give it as ['McDonalds - Big Mac'] or ['Dunkin's Donut'] to ['Dunkins Donut'] etc, becauses this will be given to pyhton this return error.
125
  If the company name is unknown, only include the product name without the company name."""
126
  # prompt = """You will be given a dynamic text that summarizes key products, applications, and comparisons from articles about VR headsets. Your task is to extract relevant product names from the text and generate a list of search queries suitable for a search API. Don't give more than five names in the list.Dont repeat the company names and please dont add single quotes or any other special characters that will be given error for pyhton to read.
127
  # Output Format: