Here's what I use: ```js const apiKey = '<YOUR AP...
# 🌎general
i
Here's what I use:
Copy code
js
const apiKey = '<YOUR API KEY HERE>'

const {data} = await axios.post("https://api.openai.com/v1/chat/completions", {
  "model": "gpt-4",
  "messages": [{"role": "user", "content": event.preview}]
}, { headers: {'Authorization': `Bearer ${apiKey}`}});

workflow.gptResponse = data.choices[0].message.content;