此处切换ai服务商,可对比多家ai的回复,取最优解。
nt, author]) # 创建DataFrame对象 df = pd.DataFrame(poems_data, columns=['Type', 'Title', 'Content', 'Author']) # 将DataFrame数据写入CSV文件 df.to_csv('poems.csv', index=False) [2024-06-24 02:04:56 | AI写代码神器 | 120点数解答]