Step 2: Write the immediate
Earlier than this step, be sure you have validated the feasibility of your thought as described above. After getting a transparent thought and performance, you need to use ChatGPT to generate a Chrome extension.
Instance immediate:
Assume that you’re an skilled Chrome extension developer. I would love Manifest model 3 to generate full code for Chrome extensions. I want to extract all picture knowledge from the energetic tab, together with filename, alt tag, dimension, decision, and picture URL. Then export them as a CSV file. The popup HTML shows the extracted knowledge in a tabular format. The desk ought to include picture thumbnails and all different extracted knowledge. The feel and appear of your popup must be fashionable and simple to make use of.
The extra detailed you’re in regards to the options you need, the higher the output from ChatGPT will likely be.
Step 3: Enhance your code
All the time examine and enhance the code supplied by ChatGPT. Please contact ChatGPT for potential enhancements earlier than finalizing the code. ChatGPT has restricted reminiscence of previous interactions, so do not forget to stick the unique code into the chat for context.
This course of is extra environment friendly utilizing GPT-4, which is likely one of the causes you want a paid OpenAI account.
Step 4: Save your code
After ChatGPT generates the code required on your extension, copy and paste the code into your code editor.