#How can I save part of an Astro generated page to the file system

2 messages · Page 1 of 1 (latest)

lapis mulch
#

Hello I'm using Astro to query GPT 4 and I want to add a button to save the result to my file system as a markdown file. I'd really appreciate if someone could tell me how I should approach this.

stark canopy
#

so i would guess you have a variable containing the result of the query, right ?