Hacker News new | ask | show | jobs
by franze 670 days ago
> I tried the exact same thing in ChatGPT -- it identified the dates in the images, but it was unable to create an .ics file. However, it did give me some Python code to create the ics file for me.

well i constantly let ChatGPT create my calendar entries, either via Google Calendar links or ics files or QR codes.

Don't know what went wrong there.

1 comments

Back when I last did it with GPT-4-Turbo, asking for an ICS file would get it to refuse on the grounds that it cannot make a file. Asking for encoding in iCal fomat, however, would make it output into a Markdown code block, which I'd then copy-paste into Notepad and save as ICS.

These days, you may also try asking it to "use Python" for the purpose, in which case it will make you the file (by writing code that writes the file and executing it), but it's likely to make more mistakes because it has to encode the result into a Python string or array.