79265691

Date: 2024-12-09 16:14:03
Score: 1
Natty:
Report link

Try to modify your model to return list of dictionaries instead of pd.DataFrame

Example:

return [{
    'answers': a,
    'sources': s,
    'prompts': p
} for a, s, p in zip(answers, sources, prompts)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: grigoriiv