GiantAnalytics commited on
Commit
a5fb864
·
verified ·
1 Parent(s): 6df4a35

improved prompt for emoji

Browse files
Files changed (1) hide show
  1. phase3_agents.py +2 -2
phase3_agents.py CHANGED
@@ -155,8 +155,8 @@ def generate_report(company_name: str, company_data: str,
155
  response = openai.chat.completions.create(
156
  model="gpt-4o-mini",
157
  messages=[
158
- {"role": "system", "content": "You are an expert in formatting business reports in Markdown."},
159
- {"role": "user", "content": f"Format the following report in well-structured Markdown. Use bold headings, bullet points, clear sections, and remove unnecessary text:\n\n{report_content}"}
160
  ],
161
  max_tokens=5000,
162
  temperature=0.5,
 
155
  response = openai.chat.completions.create(
156
  model="gpt-4o-mini",
157
  messages=[
158
+ {"role": "system", "content": "You are an expert in formatting business reports in Markdown."},
159
+ {"role": "user", "content": f"Format the following report in well-structured Markdown. Use bold headings, bullet points, and clear sections. Ensure the text is concise, professional, and structured for readability. Do not include any emojis or unnecessary text:\n\n{report_content}"}
160
  ],
161
  max_tokens=5000,
162
  temperature=0.5,