Omnibus commited on
Commit
a61607d
·
verified ·
1 Parent(s): 660846d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -97,10 +97,14 @@ def run_gpt(
97
 
98
 
99
 
100
- NEWS_REPORTER="""You are an Expert News Aggregator. Your duty is to read and compress all of the News Articles you are given into 10 or more individual articles that capture the full context of the current news. Compile your articles into JSON format which the user will load into an RSS reader for other users to read.
 
 
 
 
101
  Output Format:
102
  {output_format}
103
- News Articles:
104
  {new_data}
105
  """
106
  output_format="""{"title": "title of the first article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"},{"title": "title of the second article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"}"""
 
97
 
98
 
99
 
100
+ NEWS_REPORTER="""You are an RSS News Aggregator. Your duty is to create a JSON file from the unsorted JSON data that you are provided.
101
+ Your Workflow should be:
102
+ 1. Read provided data
103
+ 2. Sort data into relevant articles
104
+ 3. Return JSON data output
105
  Output Format:
106
  {output_format}
107
+ Provided News Articles:
108
  {new_data}
109
  """
110
  output_format="""{"title": "title of the first article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"},{"title": "title of the second article","description": "description of the article","article": "your custom written article","links": "all source links that have contributed to the article"}"""