def huan_jue():
df = pd.read_csv('leaderboard_summaries.csv', encoding='utf-8')
df = df[df['model'] == 'deepseek/deepseek-v3']
data = {"source": [], 'ori_summary': [], "rendu_summary": []}
for index, row in ():
source = row[0]
ori_summary = row[1]
msg = f'Provide a concise summary of the following passage, covering the core pieces of information described in english. {source}'
con = rendu(msg)
try:
con = con['choices'][0]['message']['content']
except IndexError:
con = ''
print(index, con[:100])
data["source"].append(source)
data["ori_summary"].append(ori_summary)
data["rendu_summary"].append(con)
df2 = (data)
df2.to_csv('', index=False)