How to convert file path into link?

Hi,

The documentation said: “When Code Interpreter references a file path (e.g., ”Download this csv file”), file paths are listed as annotations. You can convert these annotations into links to download the file”.

So in annotations I Got this file path: sandbox:/mnt/data/csv_to_pdf.pdf

how to make a link for downloading the PDF?

1 Like